Пример #1
0
 def test_net_all(self):
     netW_all = netW(self.link_list, share='A')
     np.testing.assert_allclose(netW_all.full()[0], self._all)
Пример #2
0
 def test_netD(self):
     netW_D = netW(self.link_list, share='D')
     np.testing.assert_allclose(netW_D.full()[0], self.D)
Пример #3
0
 def test_netC(self):
     netW_C = netW(self.link_list, share='C')
     np.testing.assert_allclose(netW_C.full()[0], self.C)
Пример #4
0
 def test_netOD(self):
     netW_OD = netW(self.link_list, share='OD')
     np.testing.assert_allclose(netW_OD.full()[0], self.OD)
Пример #5
0
 def test_netO(self):
     netW_O = netW(self.link_list, share='O')
     np.testing.assert_allclose(netW_O.full()[0], self.O)
Пример #6
0
 def test_net_all(self):
     netW_all = netW(self.link_list, share="A")
     np.testing.assert_allclose(netW_all.full()[0], self._all)
Пример #7
0
 def test_netC(self):
     netW_C = netW(self.link_list, share="C")
     np.testing.assert_allclose(netW_C.full()[0], self.C)
Пример #8
0
 def test_netD(self):
     netW_D = netW(self.link_list, share="D")
     np.testing.assert_allclose(netW_D.full()[0], self.D)
Пример #9
0
 def test_netO(self):
     netW_O = netW(self.link_list, share="O")
     np.testing.assert_allclose(netW_O.full()[0], self.O)
Пример #10
0
 def test_netOD(self):
     netW_OD = netW(self.link_list, share="OD")
     np.testing.assert_allclose(netW_OD.full()[0], self.OD)