public void RunsTest_ShouldPass() { var runsTest = new RunsTest(); var actual = runsTest.GetPValue(_testValue); Assert.True(actual > EXPECTED_VALUE); }
public void RunsShouldMatch() { var rt = new RunsTest(); var p = rt.RunTest(SampleData.BitArray, 52); Assert.AreEqual(0.0057, p, 0.00005); }
public void RunsTest_ReturnsCorrectValue(string input) { var testValue = FromOnesAndZeroesToBit(input); var runsTest = new RunsTest(); var expected = 0.500798; var actual = runsTest.GetPValue(testValue); Assert.True(AreEqual(expected, actual)); }