def test_get_tokens_binary_operators(self):
        for operator in '+-*/%&|^<>':
            #                        012 345
            tokens = self.get_tokens('5 %s 3' % operator)
            self.assertEqual(3, len(tokens), tokens)
            self.assertEqual(Constant('5', 0, 1), tokens[0])
            self.assertEqual(Syntax(operator, 2, 3), tokens[1])
            self.assertEqual(Constant('3', 4, 5), tokens[2])
dataset/ETHPy150Open myint/cppclean/test_tokenize.py/TokenizeTest.test_get_tokens_binary_operators/original