def test_edge3(s): format_ = fc._layoutInputFormat(s.edge_case3) s.assertTrue(format_ == "unknown")
def test_edge1(s): try: fc._layoutInputFormat(s.edge_case1) s.assertTrue(False) except ValueError: s.assertTrue(True)
def test_edge2(s): format_ = fc._layoutInputFormat(s.edge_case2) s.assertTrue(format_ == "sparseSimilarity")
def test_inferred_fullSimilarity(s): s.assertTrue(fc._layoutInputFormat(s.full_sim) == "fullSimilarity")
def test_inferred_sparseSimilarity(s): s.assertTrue(fc._layoutInputFormat(s.neighbors) == "sparseSimilarity")
def test_inferred_unknown(s): s.assertTrue(fc._layoutInputFormat(s.unknown) == "unknown")
def test_inferred_xyPositions2(s): s.assertTrue(fc._layoutInputFormat(s.xy2) == "xyPositions")
def test_inferred_ClusterData(s): s.assertTrue(fc._layoutInputFormat(s.clusterData) == "clusterData")