def test_net_all(self): netW_all = netW(self.link_list, share='A') np.testing.assert_allclose(netW_all.full()[0], self._all)
def test_netD(self): netW_D = netW(self.link_list, share='D') np.testing.assert_allclose(netW_D.full()[0], self.D)
def test_netC(self): netW_C = netW(self.link_list, share='C') np.testing.assert_allclose(netW_C.full()[0], self.C)
def test_netOD(self): netW_OD = netW(self.link_list, share='OD') np.testing.assert_allclose(netW_OD.full()[0], self.OD)
def test_netO(self): netW_O = netW(self.link_list, share='O') np.testing.assert_allclose(netW_O.full()[0], self.O)
def test_net_all(self): netW_all = netW(self.link_list, share="A") np.testing.assert_allclose(netW_all.full()[0], self._all)
def test_netC(self): netW_C = netW(self.link_list, share="C") np.testing.assert_allclose(netW_C.full()[0], self.C)
def test_netD(self): netW_D = netW(self.link_list, share="D") np.testing.assert_allclose(netW_D.full()[0], self.D)
def test_netO(self): netW_O = netW(self.link_list, share="O") np.testing.assert_allclose(netW_O.full()[0], self.O)
def test_netOD(self): netW_OD = netW(self.link_list, share="OD") np.testing.assert_allclose(netW_OD.full()[0], self.OD)