Beispiel #1
0
 public void Can_classify_abundant_numbers(int number)
 {
     Assert.That(PerfectNumbers.Classify(number), Is.EqualTo(NumberType.Abundant));
 }
Beispiel #2
0
 public void Can_classify_deficient_numbers(int number)
 {
     Assert.That(PerfectNumbers.Classify(number), Is.EqualTo(NumberType.Deficient));
 }