def test_wilk(): """Simple test of wilk(4)""" a, b = rogues.wilk(4) w = np.array([[0.9143e-4, 0, 0, 0], [0.8762, 0.7156e-4, 0, 0], [0.7943, 0.8143, 0.9504e-4, 0], [0.8017, 0.6123, 0.7165, 0.7123e-4]]) npt.assert_array_equal(a, w)
def test_wilk(): """Simple test of wilk(4)""" a, b = rogues.wilk(4) w = np. array([[0.9143e-4, 0, 0, 0], [0.8762, 0.7156e-4, 0, 0], [0.7943, 0.8143, 0.9504e-4, 0], [0.8017, 0.6123, 0.7165, 0.7123e-4]]) npt.assert_array_equal(a, w)
def test_wilkinson(): """Simple test of wilkinson(21)""" a, b = rogues.wilk(21) w = rogues.wilkinson(21) npt.assert_array_equal(a, w)