def METHOD_NAME(self):
    dm1ref = fci.direct_spin1.trans_rdm1(ci0, ci1, norb, nelec)
    dm1 = fci.direct_spin0.trans_rdm1(ci0, ci1, norb, nelec)
    self.assertTrue(numpy.allclose(dm1ref, dm1))
    self.assertAlmostEqual(numpy.linalg.norm(dm1), 2.5485017426647461, 10)
    dm0 = fci.direct_spin0.make_rdm1(ci0, norb, nelec)
    dm1 = fci.direct_spin0.trans_rdm1(ci0, ci0, norb, nelec)
    self.assertTrue(numpy.allclose(dm1, dm0))