def test_case1(self): mansNumbers = [15,24,12] womansOnlineLength = 4 matchMyHusband = \ MatchMyHusband(mansNumbers, womansOnlineLength) self.assertEqual(matchMyHusband.result(), "No Match!")
def test_case10(self): mansNumbers = [35,35,31] womansOnlineLength = 0 matchMyHusband = \ MatchMyHusband(mansNumbers, womansOnlineLength) self.assertEqual(matchMyHusband.result(), "Match!")
def test_case7(self): mansNumbers = [34,25,36] womansOnlineLength = 1 matchMyHusband = \ MatchMyHusband(mansNumbers, womansOnlineLength) self.assertEqual(matchMyHusband.result(), "Match!")
def test_case6(self): mansNumbers = [17,31,21] womansOnlineLength = 2 matchMyHusband = \ MatchMyHusband(mansNumbers, womansOnlineLength) self.assertEqual(matchMyHusband.result(), "No Match!")
def test_case5(self): mansNumbers = [8,11,4] womansOnlineLength = 10 matchMyHusband = \ MatchMyHusband(mansNumbers, womansOnlineLength) self.assertEqual(matchMyHusband.result(), "Match!")
def test_case4(self): mansNumbers = [22,9,24] womansOnlineLength = 5 matchMyHusband = \ MatchMyHusband(mansNumbers, womansOnlineLength) self.assertEqual(matchMyHusband.result(), "Match!")
def test_case2(self): mansNumbers = [26,23,19] womansOnlineLength = 3 matchMyHusband = \ MatchMyHusband(mansNumbers, womansOnlineLength) self.assertEqual(matchMyHusband.result(), "Match!")