def test_write_value_number(self):
    number = Num.create_from((- 13.1))
    writer = _ReconWriter()
    actual = writer._write_value(number)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual(5, actual._size)
    self.assertEqual('-13.1', actual._value)
    self.assertEqual('1', actual._last_char)
def test_write_value_number(self):
    number = Num.create_from((- 13.1))
    writer = _ReconWriter()
    actual = writer._write_value(number)
    self.assertIsInstance(actual, _OutputMessage)
    self.assertEqual(5, actual._size)
    self.assertEqual('-13.1', actual._value)
    self.assertEqual('1', actual._last_char)