Пример #1
0
 def test_assign(self):
     operator = operator_from_line('44430 -> b')
     self.assertEqual('ASSIGN', operator)
Пример #2
0
 def test_and(self):
     operator = operator_from_line('eg AND ei -> ej')
     self.assertEqual('AND', operator)
Пример #3
0
 def test_lshift(self):
     operator = operator_from_line('kf LSHIFT 15 -> kj')
     self.assertEqual('LSHIFT', operator)
Пример #4
0
 def test_not(self):
     operator = operator_from_line('NOT dq -> dr')
     self.assertEqual('NOT', operator)