Exemple #1
0
 def test_edge3(s):
     format_ = fc._layoutInputFormat(s.edge_case3)
     s.assertTrue(format_ == "unknown")
Exemple #2
0
 def test_edge1(s):
     try:
         fc._layoutInputFormat(s.edge_case1)
         s.assertTrue(False)
     except ValueError:
         s.assertTrue(True)
Exemple #3
0
 def test_edge2(s):
     format_ = fc._layoutInputFormat(s.edge_case2)
     s.assertTrue(format_ == "sparseSimilarity")
Exemple #4
0
 def test_inferred_fullSimilarity(s):
     s.assertTrue(fc._layoutInputFormat(s.full_sim) == "fullSimilarity")
Exemple #5
0
 def test_inferred_sparseSimilarity(s):
     s.assertTrue(fc._layoutInputFormat(s.neighbors) == "sparseSimilarity")
Exemple #6
0
 def test_inferred_unknown(s):
     s.assertTrue(fc._layoutInputFormat(s.unknown) == "unknown")
Exemple #7
0
 def test_inferred_xyPositions2(s):
     s.assertTrue(fc._layoutInputFormat(s.xy2) == "xyPositions")
Exemple #8
0
 def test_inferred_ClusterData(s):
     s.assertTrue(fc._layoutInputFormat(s.clusterData) == "clusterData")