def test_startswith_none(self): result = strutils.startswith(None, "Main String is None.") self.assertFalse(result, 'Expected false match.')
def test_startswith_mismatch(self): result = strutils.startswith("Start Mismatch 12345", "start") self.assertFalse(result, 'Expected false match.')
def test_startswith_match(self): result = strutils.startswith("Start12345", "Start") self.assertTrue(result, 'Expected true match.')