def test_operand_should_in_range_1_to_9(self): random = Randomizer() self.assertTrue(random.operand() >= 1) self.assertTrue(random.operand() <= 9)