示例#1
0
 def test_sequence_b_bigger_than_a(self):
     a = [2, 3]
     b = [2, 3, 4]
     self.assertFalse(sequences_contain_same_items(a, b))
示例#2
0
 def test_sequences_contain_single_difference(self):
     a = [1, 2, 3]
     b = [2, 3, 4]
     self.assertFalse(sequences_contain_same_items(a, b))
示例#3
0
 def test_sequence_a_bigger_than_b(self):
     a = [1, 2, 3]
     b = [2, 3]
     self.assertFalse(sequences_contain_same_items(a, b))
示例#4
0
 def test_sequences_only_out_of_order(self):
     a = [1, 2, 'a', {1: 'e'}]
     b = [{1: 'e'}, 2, 1, 'a']
     self.assertTrue(sequences_contain_same_items(a, b))