Beispiel #1
0
 def test_ordinal_21(self):
     """ordinal(21) -> 21st"""
     self.assertEqual(ordinal(21), '21st')
Beispiel #2
0
 def test_ordinal_1250239(self):
     """ordinal(1250239) -> 1250239th"""
     self.assertEqual(ordinal(1250239), '1250239th')
Beispiel #3
0
 def test_ordinal_10(self):
     """ordinal(10) -> 10th"""
     self.assertEqual(ordinal(10), '10th')
Beispiel #4
0
 def test_ordinal_11(self):
     """ordinal(11) -> 11th"""
     self.assertEqual(ordinal(11), '11th')
Beispiel #5
0
 def test_ordinal_5(self):
     """ordinal(5) -> 5th"""
     self.assertEqual(ordinal(5), '5th')
Beispiel #6
0
 def test_ordinal_4(self):
     """ordinal(4) -> 4th"""
     self.assertEqual(ordinal(4), '4th')
Beispiel #7
0
 def test_ordinal_3(self):
     """ordinal(3) -> 3rd"""
     self.assertEqual(ordinal(3), '3rd')
Beispiel #8
0
 def test_ordinal_2(self):
     """ordinal(2) -> 2nd"""
     self.assertEqual(ordinal(2), '2nd')
Beispiel #9
0
 def test_ordinal_1(self):
     """ordinal(1) -> 1st"""
     self.assertEqual(ordinal(1), '1st')