def METHOD_NAME(self):
    numpy.random.seed(10)
    n = 100
    a = numpy.random.random((n,n))
    s = numpy.dot(a.T, a)
    weight = numpy.random.random(n)
    c = orth.weight_orth(s, weight)
    self.assertTrue(numpy.allclose(reduce(numpy.dot, (c.T, s, c)),
                                   numpy.eye(n)))
    self.assertAlmostEqual(numpy.linalg.norm(c), 36.56738258719514, 8)
    self.assertAlmostEqual(abs(c).sum(), 1908.8535852660757, 6)