def test_abcXYZ_and_abcDEF_returns_false(self): actual = end_other("abcXYZ", "abcDEF") expected = False self.assertEqual( actual, expected, 'Expected calling end_other() with "abcXYZ" and "abcDEF" to return "False"' )
def test_Z_and_12xz_returns_true(self): actual = end_other("Z", "12xz") expected = True self.assertEqual( actual, expected, 'Expected calling end_other() with "Z" and "12xz" to return "True"' )
def test_yz_and_12xz_returns_false(self): actual = end_other("yz", "12xz") expected = False self.assertEqual( actual, expected, 'Expected calling end_other() with "yz" and "12xz" to return "False"' )
def test_abc_and_abc_returns_true(self): actual = end_other("abc", "abc") expected = True self.assertEqual( actual, expected, 'Expected calling end_other() with "abc" and "abc" to return "True"' )
def test_Hiabcx_and_bc_returns_false(self): actual = end_other("Hiabcx", "bc") expected = False self.assertEqual( actual, expected, 'Expected calling end_other() with "Hiabcx" and "bc" to return "False"' )
def test_AbC_and_HiaBc_returns_true(self): actual = end_other("AbC", "HiaBc") expected = True self.assertEqual( actual, expected, 'Expected calling end_other() with "AbC" and "HiaBc" to return "True"' )