Beispiel #1
0
 def test_15_num(self):
     self.assertEqual(gematriapy.to_hebrew(15), "טו")
Beispiel #2
0
 def test_too_big(self):
     with self.assertRaises(Exception):
         gematriapy.to_hebrew(1000)
Beispiel #3
0
 def test_simple_num(self):
     self.assertEqual(gematriapy.to_hebrew(3), "ג")
Beispiel #4
0
 def test_zero(self):
     with self.assertRaises(Exception):
         gematriapy.to_hebrew(0)
Beispiel #5
0
 def test_negative(self):
     with self.assertRaises(Exception):
         gematriapy.to_hebrew(-1)
Beispiel #6
0
 def test_bigger_than_800_num(self):
     self.assertEqual(gematriapy.to_hebrew(822), "תתכב")
Beispiel #7
0
 def test_hundreds_num_that_ends_with_16(self):
     self.assertEqual(gematriapy.to_hebrew(516), "תקטז")
Beispiel #8
0
 def test_random_hundreds_num_v2(self):
     self.assertEqual(gematriapy.to_hebrew(499), "תצט")
Beispiel #9
0
 def test_random_hundreds_num_v1(self):
     self.assertEqual(gematriapy.to_hebrew(250), "רנ")
Beispiel #10
0
 def test_random_tens_num_v2(self):
     self.assertEqual(gematriapy.to_hebrew(77), "עז")
Beispiel #11
0
 def test_random_tens_num_v1(self):
     self.assertEqual(gematriapy.to_hebrew(24), "כד")
Beispiel #12
0
 def test_16_num(self):
     self.assertEqual(gematriapy.to_hebrew(16), "טז")