def METHOD_NAME(self):
    '''check that from_euler() and to_euler() are consistent'''
    m = Matrix3()
    for r in range(-179, 179, 10):
        for p in range(-89, 89, 10):
            for y in range(-179, 179, 10):
                m.from_euler(radians(r), radians(p), radians(y))
                (r2, p2, y2) = m.to_euler()
                v1 = Vector3(r, p, y)
                v2 = Vector3(degrees(r2), degrees(p2), degrees(y2))
                diff = v1 - v2
                assert diff.length() < 1.0e-12