def test_multiple_inserts(self): y = 10 tr = TempTracker() for x in range(0, y): tr.insert(x) self.assertEqual(len(tr._get_temps()), 10)
def test_insert(self): tr = TempTracker() tr.insert(25) self.assertEqual(tr._get_temps(), [25,])