Revision 456, 0.7 kB
(checked in by vbarta, 16 years ago)
|
custom test location for harness tests (extended UnitTest?++), configurable tolerance - all tests pass (most of the time)
|
Rev | Line | |
---|
[436] | 1 | data = ( |
---|
| 2 | { |
---|
[440] | 3 | class = "egiw_harness"; |
---|
[436] | 4 | epdf = { |
---|
| 5 | class = "egiw"; |
---|
[454] | 6 | V = ( "matrix", 2, 2, [ 13.1, 11.0, 11.0, 10.0 ] ); |
---|
[436] | 7 | nu = 10; |
---|
| 8 | dimx = 1.0; |
---|
| 9 | rv = { |
---|
| 10 | class = "RV"; |
---|
| 11 | names = ( "a", "b" ); |
---|
| 12 | }; |
---|
| 13 | }; |
---|
[454] | 14 | mean = [ 1.1, 0.1 ]; |
---|
[456] | 15 | lognc = 3.39463; |
---|
[454] | 16 | variance = [ 0.01, 8e-05 ]; |
---|
[436] | 17 | support = ( "matrix", 2, 2, [ -2.0, 4.0, 0.01, 2.0 ] ); |
---|
[442] | 18 | nbins = [ 100, 200 ]; |
---|
[436] | 19 | integral = 1.0; |
---|
[456] | 20 | tolerance = 0.2; |
---|
[441] | 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 ]; |
---|
[436] | 38 | } ); |
---|
| 39 | |
---|