def test_unkownNotSparseSimilarity(s): s.assertTrue(not fc._isSparseSimilarity(s.unknown))
def test_xyNotSparseSimilarity(s): s.assertTrue(not fc._isSparseSimilarity(s.xy1)) s.assertTrue(not fc._isSparseSimilarity(s.xy2))
def test_fSimNotSparseSimilarity(s): s.assertTrue(not fc._isSparseSimilarity(s.full_sim))
def test_cDataNotSparseSimilarity(s): s.assertTrue(not fc._isSparseSimilarity(s.clusterData))
def test_isSparseSimilarity(s): s.assertTrue(fc._isSparseSimilarity(s.neighbors))