Esempio n. 1
0
 public void Should_return_the_word_three_hundred_and_ninety_nine_when_supplied_with_399()
 {
     var p = new Problem();
     p.GetWordForNumber(399).Should().Be("three hundred and ninety nine");
 }
Esempio n. 2
0
 public void Should_return_the_word_one_when_supplied_with_1()
 {
     var p = new Problem();
     p.GetWordForNumber(1).Should().Be("one");
 }
Esempio n. 3
0
 public void Should_return_the_word_thirteen_when_supplied_with_13()
 {
     var p = new Problem();
     p.GetWordForNumber(13).Should().Be("thirteen");
 }
Esempio n. 4
0
 public void Should_return_the_word_one_thousand_and_thirteen_when_supplied_with_1013()
 {
     var p = new Problem();
     p.GetWordForNumber(1013).Should().Be("one thousand and thirteen");
 }
Esempio n. 5
0
 public void Should_return_the_word_one_thousand_and_twenty_three_when_supplied_with_1023()
 {
     var p = new Problem();
     p.GetWordForNumber(1023).Should().Be("one thousand and twenty three");
 }
Esempio n. 6
0
 public void Should_return_the_word_ninety_nine_when_supplied_with_99()
 {
     var p = new Problem();
     p.GetWordForNumber(99).Should().Be("ninety nine");
 }
Esempio n. 7
0
 public void Should_return_the_words_two_hundred_and_one_when_supplied_with_201()
 {
     var p = new Problem();
     p.GetWordForNumber(201).Should().Be("two hundred and one");
 }
Esempio n. 8
0
 public void Should_return_the_words_three_hundred_and_fifty_four_when_supplied_with_354()
 {
     var p = new Problem();
     p.GetWordForNumber(354).Should().Be("three hundred and fifty four");
 }
Esempio n. 9
0
 public void Should_return_the_word_zero_when_supplied_with_0()
 {
     var p = new Problem();
     p.GetWordForNumber(0).Should().Be("zero");
 }
Esempio n. 10
0
 public void Should_return_the_word_twenty_three_when_supplied_with_23()
 {
     var p = new Problem();
     p.GetWordForNumber(23).Should().Be("twenty three");
 }