def test_zero_1d_dat(self, backend, x):
        """Zero a Dat."""
        x.data[:] = 10
        assert (x.data == 10).all()
        x.zero()
        assert (x.data == 0).all()
dataset/ETHPy150Open OP2/PyOP2/test/unit/test_direct_loop.py/TestDirectLoop.test_zero_1d_dat/original