public void Fourteen() { Assert.That(Say.InEnglish(14L), Is.EqualTo("fourteen")); }
public void Zero() { Assert.Equal("zero", Say.InEnglish(0)); }
public void Numbers_below_zero_are_out_of_range() { Assert.Throws <ArgumentOutOfRangeException>(() => Say.InEnglish(-1)); }
public void One_thousand() { Assert.Equal("one thousand", Say.InEnglish(1000)); }
public void One_million_two_thousand_three_hundred_forty_five() { Assert.Equal("one million two thousand three hundred forty-five", Say.InEnglish(1002345)); }
public void Twenty() { Assert.Equal("twenty", Say.InEnglish(20)); }
public void One_hundred() { Assert.Equal("one hundred", Say.InEnglish(100)); }
public void Zero() { Assert.That(Say.InEnglish(0L), Is.EqualTo("zero")); }
public void One_thousand_two_hundred_thirty_four() { Assert.That(Say.InEnglish(1234L), Is.EqualTo("one thousand two hundred thirty-four")); }
public void One_hundred_twenty_three() { Assert.That(Say.InEnglish(123L), Is.EqualTo("one hundred twenty-three")); }
public void One_thousand() { Assert.That(Say.InEnglish(1000L), Is.EqualTo("one thousand")); }
public void One_hundred() { Assert.That(Say.InEnglish(100L), Is.EqualTo("one hundred")); }
public void Twenty_two() { Assert.That(Say.InEnglish(22L), Is.EqualTo("twenty-two")); }
public void Twenty() { Assert.That(Say.InEnglish(20L), Is.EqualTo("twenty")); }
public void One() { Assert.Equal("one", Say.InEnglish(1)); }
public void One_million_two() { Assert.That(Say.InEnglish(1000002L), Is.EqualTo("one million two")); }
public void Fourteen() { Assert.Equal("fourteen", Say.InEnglish(14)); }
public void One_million_two_thousand_three_hundred_forty_five() { Assert.That(Say.InEnglish(1002345L), Is.EqualTo("one million two thousand three hundred forty-five")); }
public void Twenty_two() { Assert.Equal("twenty-two", Say.InEnglish(22)); }
public void One_billion() { Assert.That(Say.InEnglish(1000000000L), Is.EqualTo("one billion")); }
public void One_hundred_twenty_three() { Assert.Equal("one hundred twenty-three", Say.InEnglish(123)); }
public void Lower_bound() { Assert.That(() => Say.InEnglish(-1L), Throws.Exception); }
public void One_thousand_two_hundred_thirty_four() { Assert.Equal("one thousand two hundred thirty-four", Say.InEnglish(1234)); }
public void Upper_bound() { Assert.That(() => Say.InEnglish(1000000000000L), Throws.Exception); }
public void One_billion() { Assert.Equal("one billion", Say.InEnglish(1000000000)); }
public void Zero() { Console.WriteLine("In Zero Test."); Assert.Equal("zero", Say.InEnglish(0)); }
public void A_big_number() { Assert.Equal("nine hundred eighty-seven billion six hundred fifty-four million three hundred twenty-one thousand one hundred twenty-three", Say.InEnglish(987654321123)); }
public void One_million() { Assert.Equal("one million", Say.InEnglish(1000000L)); }
public void Numbers_above_999_999_999_999_are_out_of_range() { Assert.Throws <ArgumentOutOfRangeException>(() => Say.InEnglish(1000000000000)); }
public void One() { Assert.That(Say.InEnglish(1L), Is.EqualTo("one")); }