def test_equal(self):
     lcd_digits_model_instance = LcdDigitsModel('245')
     other_instance = LcdDigitsModel('245')
     self.assertTrue(lcd_digits_model_instance.equals(other_instance))
 def test_not_equal(self):
     lcd_digits_model_instance = LcdDigitsModel('354')
     other_instance = LcdDigitsModel('35')
     self.assertFalse(lcd_digits_model_instance.equals(other_instance))
 def test_equal_wrong_type_error(self):
     lcd_digits_model_instance = LcdDigitsModel('522')
     other_instance = 'Hello'
     with self.assertRaises(TypeError):
         lcd_digits_model_instance.equals(other_instance)