def test_serialize_binary_operation(): assert_equal("x + y", _dumps(js.binary_operation("+", js.ref("x"), js.ref("y"))))
def test_transform_is_operation(): _assert_transform( cc.is_(cc.ref("x"), cc.ref("y")), js.binary_operation("===", js.ref("x"), js.ref("y")) )