public void FrequencyMonobitTest_ShouldPass() { var frequencyMonobitTest = new FrequencyMonobitTest(); var actual = frequencyMonobitTest.GetPValue(_testValue); Assert.True(actual > EXPECTED_VALUE); }
public void FrequencyMonobitTest_ReturnsCorrectValue(string input) { var testValue = FromOnesAndZeroesToBit(input); var frequencyMonobitTest = new FrequencyMonobitTest(); var expected = 0.109599; var actual = frequencyMonobitTest.GetPValue(testValue); Assert.True(AreEqual(expected, actual)); }