public void ShouldDecideNegatively() { var generator = new RandomGenerator(() => 0.9); bool decision = generator.Decide(0.3); Assert.That(decision, Is.False); }
public void ShouldDecidePositively() { var generator = new RandomGenerator(() => 0.2); bool decision = generator.Decide(0.3); Assert.That(decision, Is.True); }