예제 #1
0
 public void ShouldPrintBarWithAsterisk()
 {
     FooBarQix.Print(101).Should().Be("1*1");
     FooBarQix.Print(303).Should().Be("FooFoo*Foo");
     FooBarQix.Print(105).Should().Be("FooBarQix*Bar");
     FooBarQix.Print(10101).Should().Be("FooQix**");
 }
예제 #2
0
 public void ShouldPrintFooFoo()
 {
     FooBarQix.Print(3).Should().Be("FooFoo");
 }
예제 #3
0
 public void ShouldPrintFooQix()
 {
     FooBarQix.Print(21).Should().Be("FooQix");
 }
예제 #4
0
 public void ShouldPrintEigth()
 {
     FooBarQix.Print(8).Should().Be("8");
 }
예제 #5
0
 public void ShouldPrintFooBarBar()
 {
     FooBarQix.Print(15).Should().Be("FooBarBar");
 }
예제 #6
0
 public void ShouldPrintBarFoo()
 {
     FooBarQix.Print(53).Should().Be("BarFoo");
 }
예제 #7
0
 public void ShouldPrintQix()
 {
     FooBarQix.Print(7).Should().Be("QixQix");
 }
예제 #8
0
 public void ShouldPrintBar()
 {
     FooBarQix.Print(10).Should().Be("Bar*");
 }
예제 #9
0
 public void ShouldPrintNumberWhenNotDivisibleByThree()
 {
     FooBarQix.Print(1).Should().Be("1");
 }