public void CumulativeSumsTest_InBackwardMode_ShouldPass() { var cusumTest = new CumulativeSumsTests(1); var actual = cusumTest.GetPValue(_testValue); Assert.True(actual > EXPECTED_VALUE); }
public void CumulativeSumsTest_InBackwardMode_ReturnsCorrectValue(string input) { var testValue = FromOnesAndZeroesToBit(input); var cusumTest = new CumulativeSumsTests(1); var expected = 0.114866; var actual = cusumTest.GetPValue(testValue); Assert.True(AreEqual(expected, actual)); }