def test_rig_component2(self): G = pickle.load(open('test2.pickle', 'rb')) x = pd.read_csv('X2', index_col=0, header=None, squeeze=True) y = pd.read_csv('Y2', index_col=0, header=None, squeeze=True) maxW = 491534586766 d = rig_component(G, x, y, maxW) self.assertEquals(2272109295852131273, d)
def test_rig_component1(self): G = pickle.load(open('test.pickle', 'rb')) x = pd.read_csv('X', index_col=0, header=None, squeeze=True) y = pd.read_csv('Y', index_col=0, header=None, squeeze=True) maxW = 491534586766 d = rig_component(G, x, y, maxW) self(d, 491534586766)
def test_rig_component3(self): G = pickle.load(open('test3.pickle', 'rb')) x = pd.read_csv('X3', index_col=0, header=None, squeeze=True) y = pd.read_csv('Y3', index_col=0, header=None, squeeze=True) maxW = 491534586766 d = rig_component(G, x, y, maxW) self.assertEquals(d, 750686345168434197)