예제 #1
0
 def test_thirty(self):
     self.assertEqual("th", ordinal_suffix(30))
예제 #2
0
 def test_hundred_and_twenty(self):
     self.assertEqual("th", ordinal_suffix(120))
예제 #3
0
 def test_twenty_four(self):
     self.assertEqual("th", ordinal_suffix(24))
예제 #4
0
 def test_hundred_and_two(self):
     self.assertEqual("nd", ordinal_suffix(102))
예제 #5
0
 def test_hundred_and_four(self):
     self.assertEqual("th", ordinal_suffix(104))
예제 #6
0
 def test_thirty_three(self):
     self.assertEqual("rd", ordinal_suffix(33))
예제 #7
0
 def test_hundred(self):
     self.assertEqual("th", ordinal_suffix(100))
예제 #8
0
 def test_twelve(self):
     self.assertEqual("th", ordinal_suffix(12))
예제 #9
0
 def test_thirteen(self):
     self.assertEqual("th", ordinal_suffix(13))
예제 #10
0
 def test_ten(self):
     self.assertEqual("th", ordinal_suffix(10))
예제 #11
0
 def test_eleven(self):
     self.assertEqual("th", ordinal_suffix(11))
예제 #12
0
 def test_four(self):
     self.assertEqual("th", ordinal_suffix(4))
예제 #13
0
 def test_one(self):
     self.assertEqual("st", ordinal_suffix(1))
예제 #14
0
 def test_hundred_and_thirty(self):
     self.assertEqual("th", ordinal_suffix(130))
예제 #15
0
 def test_thirty_one(self):
     self.assertEqual("st", ordinal_suffix(31))
예제 #16
0
 def test_fourteen(self):
     self.assertEqual("th", ordinal_suffix(14))
예제 #17
0
 def test_thirty_two(self):
     self.assertEqual("nd", ordinal_suffix(32))
예제 #18
0
 def test_twenty(self):
     self.assertEqual("th", ordinal_suffix(20))
예제 #19
0
 def test_thirty_four(self):
     self.assertEqual("th", ordinal_suffix(34))
예제 #20
0
 def test_twenty_one(self):
     self.assertEqual("st", ordinal_suffix(21))
예제 #21
0
 def test_hundred_and_one(self):
     self.assertEqual("st", ordinal_suffix(101))
예제 #22
0
 def test_twenty_two(self):
     self.assertEqual("nd", ordinal_suffix(22))
예제 #23
0
 def test_hundred_and_three(self):
     self.assertEqual("rd", ordinal_suffix(103))
예제 #24
0
 def test_twenty_three(self):
     self.assertEqual("rd", ordinal_suffix(23))
예제 #25
0
 def test_hundred_and_ten(self):
     self.assertEqual("th", ordinal_suffix(110))
예제 #26
0
 def test_hundred_and_twelve(self):
     self.assertEqual("th", ordinal_suffix(112))