Revision 456, 0.7 kB
(checked in by vbarta, 15 years ago)
|
custom test location for harness tests (extended UnitTest?++), configurable tolerance - all tests pass (most of the time)
|
Line | |
---|
1 | data = ( |
---|
2 | { |
---|
3 | class = "egiw_harness"; |
---|
4 | epdf = { |
---|
5 | class = "egiw"; |
---|
6 | V = ( "matrix", 2, 2, [ 13.1, 11.0, 11.0, 10.0 ] ); |
---|
7 | nu = 10; |
---|
8 | dimx = 1.0; |
---|
9 | rv = { |
---|
10 | class = "RV"; |
---|
11 | names = ( "a", "b" ); |
---|
12 | }; |
---|
13 | }; |
---|
14 | mean = [ 1.1, 0.1 ]; |
---|
15 | lognc = 3.39463; |
---|
16 | variance = [ 0.01, 8e-05 ]; |
---|
17 | support = ( "matrix", 2, 2, [ -2.0, 4.0, 0.01, 2.0 ] ); |
---|
18 | nbins = [ 100, 200 ]; |
---|
19 | integral = 1.0; |
---|
20 | tolerance = 0.2; |
---|
21 | }, |
---|
22 | { |
---|
23 | class = "egiw_harness"; |
---|
24 | epdf = { |
---|
25 | class = "egiw"; |
---|
26 | V = ( "matrix", 2, 2, [ 20.0, 8.0, 8.0, 4.0 ] ); |
---|
27 | nu = 4.0; |
---|
28 | dimx = 1.0; |
---|
29 | rv : |
---|
30 | { |
---|
31 | class = "RV"; |
---|
32 | names = ( "a", "b" ); |
---|
33 | }; |
---|
34 | }; |
---|
35 | mean = [ 2, -4 ]; |
---|
36 | lognc = 0.451583; |
---|
37 | variance = [ -1, -16 ]; |
---|
38 | } ); |
---|
39 | |
---|