Ejemplo n.º 1
0
    def test_can_do_bitwise_right_shift(self):
        p = Pypher()
        p.BRSHIFT(12, 4)
        x = str(p)
        params = p.bound_params
        expected = 'apoc.bitwise.op(${}, "<<", ${})'.format(
            get_dict_key(params, 12), get_dict_key(params, 4))

        self.assertEqual(x, expected)