mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 04:58:08 +00:00
test: setup common stability and robustness properties tracking
This commit is contained in:
@@ -281,4 +281,4 @@ public class CviIndicatorTests
|
||||
// With constant but different ranges, the absolute values may differ
|
||||
// but both should be close to 0 (no rate of change)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -497,4 +497,4 @@ public class CviTests
|
||||
Assert.Throws<ArgumentException>(() => Cvi.Batch(source, outputCorrect, 0, 2));
|
||||
Assert.Throws<ArgumentException>(() => Cvi.Batch(source, outputCorrect, 2, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -621,4 +621,4 @@ public class CviValidationTests
|
||||
double mean = values.Average();
|
||||
return values.Average(v => Math.Pow(v - mean, 2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user