Beispiel #1
0
 def test_superset_of_disagrees_on_a_superset_sequence(self):
     assert_that([1], is_not(superset_of([1, 2, 3])))
Beispiel #2
0
 def test_superset_of_accepts_generator_as_matcher_data(self):
     assert_that([1, 2, 3], is_(superset_of(i for i in [1])))
Beispiel #3
0
 def test_superset_of_same_sequence_is_superset(self):
     assert_that([1], is_(superset_of([1])))
Beispiel #4
0
 def test_superset_of_agrees_on_a_subset_sequence(self):
     assert_that([1, 2, 3], is_(superset_of([1])))
Beispiel #5
0
 def test_superset_of_empty_sequence_is_superset(self):
     assert_that([], is_(superset_of([])))