def METHOD_NAME(self):
    g = cubic(shape=[3, 1, 1])
    assert np.all(tools.dimensionality(g) == [True, False, False])
    g = cubic(shape=[1, 3, 1])
    assert np.all(tools.dimensionality(g) == [False, True, False])
    g = cubic(shape=[1, 1, 3])
    assert np.all(tools.dimensionality(g) == [False, False, True])
    g = cubic(shape=[3, 3, 1])
    assert np.all(tools.dimensionality(g) == [True, True, False])
    g = cubic(shape=[3, 1, 3])
    assert np.all(tools.dimensionality(g) == [True, False, True])
    g = cubic(shape=[1, 3, 3])
    assert np.all(tools.dimensionality(g) == [False, True, True])
    g = cubic(shape=[3, 3, 3])
    assert np.all(tools.dimensionality(g) == [True, True, True])