Ejemplo n.º 1
0
def test_snowflake_2_nonadjacent():
    observed = _fromdicts_duplicates(f.headers, f.data, 2, False)
    expected = {('b',),('a','b'),('b','c'),('b','d'),('a','c')}
    n.assert_set_equal(observed, expected)
Ejemplo n.º 2
0
def test_too_few_columns():
    observed = _fromdicts_duplicates(f.headers3, f.data3, 8, False)
    expected = {('b',),('a','b')}
    n.assert_set_equal(observed, expected)
Ejemplo n.º 3
0
def test_snowflake_1_nonadjacent():
    observed = _fromdicts_duplicates(f.headers, f.data, 1, False)
    expected = {('b',)}
    n.assert_set_equal(observed, expected)