public void CompareLaplaceAndBern() { var rational = 1 / (Rational)2; var bern = Calculator.Bernoulli(rational, 100, 51); var lap = Calculator.MoivreLaplace(0.5, 100, 51); Rational res; Rational.Power(9, 1 / (Rational)2, out res); Assert.AreEqual(bern, lap); }