def test_assign(self): operator = operator_from_line('44430 -> b') self.assertEqual('ASSIGN', operator)
def test_and(self): operator = operator_from_line('eg AND ei -> ej') self.assertEqual('AND', operator)
def test_lshift(self): operator = operator_from_line('kf LSHIFT 15 -> kj') self.assertEqual('LSHIFT', operator)
def test_not(self): operator = operator_from_line('NOT dq -> dr') self.assertEqual('NOT', operator)