Beispiel #1
0
 public void Should_print_Foo_when_number_divisible_by_3_and_not_contains_3(int number, string expected)
 {
     Assert.That(FoorBarQix.Translate(number), Is.EqualTo(expected));
 }
Beispiel #2
0
 public void Should_print_Qix_when_number_divisible_by_7_and_not_contains_7()
 {
     Assert.That(FoorBarQix.Translate(14), Is.EqualTo("Qix"));
 }
Beispiel #3
0
 public void Should_print_FooFooFoo_when_number_divisible_by_3_and_contains_3_2_times()
 {
     Assert.That(FoorBarQix.Translate(33), Is.EqualTo("FooFooFoo"));
 }
Beispiel #4
0
 public void Should_print_BarFoor_when_contains_5_and_then_3()
 {
     Assert.That(FoorBarQix.Translate(53), Is.EqualTo("BarFoo"));
 }
Beispiel #5
0
 public void Should_print_FooBarBar_when_number_divisible_by_3_5_and_contains_5()
 {
     Assert.That(FoorBarQix.Translate(15), Is.EqualTo("FooBarBar"));
 }