def METHOD_NAME(self):
    """
    Test the setValue() and getValue() methods.
    """
    self.tr = OCIO.Lut3DTransform(gridSize=3)
    r, g, b = self.tr.getValue(0, 0, 0)
    self.assertEqual([r, g, b], [0, 0, 0])
    r, g, b = self.tr.getValue(1, 1, 1)
    self.assertEqual([r, g, b], [0.5, 0.5, 0.5])
    r, g, b = self.tr.getValue(2, 2, 2)
    self.assertEqual([r, g, b], [1, 1, 1])
    self.tr.setValue(0, 0, 0, 0.1, 0.2, 0.3)
    r, g, b = self.tr.getValue(0, 0, 0)
    # Values are stored as float.
    self.assertAlmostEqual(r, 0.1, delta=1e-6)
    self.assertAlmostEqual(g, 0.2, delta=1e-6)
    self.assertAlmostEqual(b, 0.3, delta=1e-6)
    if not np:
        logger.warning("NumPy not found. Skipping part of test!")
        return
    data = self.tr.getData()
    expected = np.array([0.1, 0.2, 0.3, 0.,  0.,   .5, 0.,  0.,  1.,
                         0.,  0.5, 0.,  0.,  0.5, 0.5, 0.,  0.5, 1.,
                         0.,  1.,  0.,  0.,  1.,  0.5, 0.,  1.,  1.,
                         0.5, 0.,  0.,  0.5, 0.,  0.5, 0.5, 0., 1.,
                         0.5, 0.5, 0.,  0.5, 0.5, 0.5, 0.5, 0.5, 1.,
                         0.5, 1.,  0.,  0.5, 1.,  0.5, 0.5, 1.,  1.,
                         1.,  0.,  0.,  1.,  0.,  0.5, 1.,  0.,  1.,
                         1.,  0.5, 0.,  1.,  0.5, 0.5, 1.,  0.5, 1.,
                         1.,  1.,  0.,  1.,  1.,  0.5, 1.,  1.,  1.]).astype(np.float32)
    self.assertEqual(data.all(), expected.all())
    data[6] = 0.9
    data[7] = 1.1
    data[8] = 1.2
    self.tr.setData(data)
    r, g, b = self.tr.getValue(0, 0, 2)
    self.assertAlmostEqual(r, 0.9, delta=1e-6)
    self.assertAlmostEqual(g, 1.1, delta=1e-6)
    self.assertAlmostEqual(b, 1.2, delta=1e-6)