Beispiel #1
0
 def test_connectivitymeasure(self):
     conn = connectivity.Connectivity()
     dt = graph.ConnectivityMeasure(connectivity=conn, array_data = numpy.array([]))
     assert dt.array_data is not None
     assert dt.connectivity is not None
     summary = dt.summary_info()
     assert summary['Graph type'] == 'ConnectivityMeasure'
Beispiel #2
0
 def test_connectivitymeasure(self):
     conn = connectivity.Connectivity()
     dt = graph.ConnectivityMeasure(connectivity=conn)
     assert dt.shape == (0, )
     assert dt.dimensions_labels is None
     assert dt.connectivity is not None
     summary = dt.summary_info
     assert summary['Graph type'] == 'ConnectivityMeasure'
 def test_connectivitymeasure(self):
     conn = connectivity.Connectivity()
     dt = graph.ConnectivityMeasure(connectivity=conn)
     self.assertEqual(dt.shape, (0, ))
     self.assertTrue(dt.dimensions_labels is None)
     self.assertTrue(dt.connectivity is not None)
     summary = dt.summary_info
     self.assertEqual(summary['Graph type'], 'ConnectivityMeasure')