public void BinomialTestConstructorTest1()
{
bool[] trials = { true, true, true, true, true, true, true, true, true, false };
BinomialTest target = new BinomialTest(trials,
hypothesizedProbability: 0.5, alternate: OneSampleHypothesis.ValueIsGreaterThanHypothesis);
Assert.AreEqual(OneSampleHypothesis.ValueIsGreaterThanHypothesis, target.Hypothesis);
Assert.AreEqual(DistributionTail.OneUpper, target.Tail);
Assert.AreEqual(0.010742, target.PValue, 1e-5);
Assert.IsTrue(target.Significant);
}