def METHOD_NAME(self, N, gc, dc, engine):
    C = np.random.rand(N).astype(bool)
    X = np.random.rand(N, N).astype(np.float32)
    Y = np.random.rand(N, N).astype(np.float32)
    op = core.CreateOperator(
        "Where",
        ["C", "X", "Y"],
        ["Z"],
        broadcast_on_rows=True,
        engine=engine,
    )
    self.assertDeviceChecks(dc, op, [C, X, Y], [0])
    self.assertReferenceChecks(gc, op, [C, X, Y], rowmux)