def test_global_inc(self, backend, iterset, x, iterset2indset):
        g = op2.Global(1, 0, np.uint32, "g")

        kernel_global_inc = """
        void kernel_global_inc(unsigned int *x, unsigned int *inc) {
          (*x) = (*x) + 1; (*inc) += (*x);
        }"""

        op2.par_loop(
            op2.Kernel(kernel_global_inc, "kernel_global_inc"), iterset,
            x(op2.RW, iterset2indset[0]),
            g(op2.INC))
        assert sum(x.data) == nelems * (nelems + 1) / 2
        assert g.data[0] == nelems * (nelems + 1) / 2
Invokes a command in an isolated environment.  The arguments are
dataset/ETHPy150Open OP2/PyOP2/test/unit/test_indirect_loop.py/TestIndirectLoop.test_global_inc--crossover with--dataset/ETHPy150Open pallets/click/click/testing.py/CliRunner.invoke