Exemple #1
0
 def test_UU_1_1(self):
     self.assertEqual(1, find_position('UU', 1 + 1j))
Exemple #2
0
 def test_LD_1_1(self):
     self.assertEqual(2j, find_position('LD', 1 + 1j))
Exemple #3
0
 def test_LL_1_1(self):
     self.assertEqual(1j, find_position('LL', 1 + 1j))
Exemple #4
0
 def test_RR_1_1(self):
     self.assertEqual(2 + 1j, find_position('RR', 1 + 1j))
Exemple #5
0
 def test_DD_1_1(self):
     self.assertEqual(1 + 2j, find_position('DD', 1 + 1j))