def test_9_and_true_returns_false(self): actual = in1to10(9, True) expected = False self.assertEqual( actual, expected, 'Expected calling in1to10() with 9 and True to return "False"')
def test_1_and_false_returns_true(self): actual = in1to10(1, False) expected = True self.assertEqual( actual, expected, 'Expected calling in1to10() with 1 and False to return "True"')
def test_OutRange_TrueLower(): assert in1to10(-15, True) == True
def test_base3(): assert in1to10(11, True) == True
def test_inRange_False(): assert in1to10(5, False) == True
def test_OutRange_True15(): assert in1to10(15, True) == True
def test_lowBoundry_False0(): assert in1to10(0, False) == False
def test_negative_1_and_true_returns_true(self): actual = in1to10(-1, True) expected = True self.assertEqual( actual, expected, 'Expected calling in1to10() with -1 and True to return "True"')
def test_HighBoundry_True9(): assert in1to10(9, True) == False
def test_lowBoundry_False(): assert in1to10(1, False) == True
def test_HighBoundry_True(): assert in1to10(10, True) == True
def test_lowBoundry_True2(): assert in1to10(2, True) == False
def test_lowBoundry_True(): assert in1to10(1, True) == True
def test_0_and_true_returns_true(self): actual = in1to10(0, True) expected = True self.assertEqual( actual, expected, 'Expected calling in1to10() with 0 and True to return "True"')
def test_HighBoundry_False(): assert in1to10(10, False) == True
def test_negative_1_and_false_returns_false(self): actual = in1to10(-1, False) expected = False self.assertEqual( actual, expected, 'Expected calling in1to10() with -1 and False to return "False"')
def test_HighBoundry_False11(): assert in1to10(11, False) == False
def test_99_and_false_returns_false(self): actual = in1to10(99, False) expected = False self.assertEqual( actual, expected, 'Expected calling in1to10() with 99 and False to return "False"')
def test_inRange_True(): assert in1to10(5, True) == False