コード例 #1
0
 public void testZScore1()
 {
     indicator = new EWZScore(values, 1);
     Bombs(() => O.info(indicator[0] + ""), "uninitialized");
     checkPoint(121.79, 0);
     checkPoint(122.35, 1.414214);
     checkPoint(120.15, -1.385064);
     checkPoint(120.78, -0.327512);
 }
コード例 #2
0
 public void testZScore5()
 {
     indicator = new EWZScore(values, 5);
     Bombs(() => O.info(indicator[0] + ""), "uninitialized");
     checkPoint(121.79, 0);
     checkPoint(122.35, 2.7793933);
     checkPoint(120.15, -2.658407);
     checkPoint(120.78, -1.273116);
 }