def test_snow(self): """ Test for snowing """ self.assertTrue(lab02.need_coat(), "It's snowing should return true")
def test_hot_rain(self): """ Tests for it raining but over 55 degrees. """ self.assertTrue(lab02.need_coat(), "Its raining and over 55 shoul return true")
def test_cold_rain(self): """ test under 55 and rain """ self.assertTrue(lab02.need_coat(), "Its raining should be true")
def test_over_55(self): """ Tests that a true value is returned if it is under 55 degrees""" self.assertFalse(lab02.need_coat(), "If temp over 55 should return False")