<commit_before>import unittest
from sve.hw import Led
from sve.hw import VibrationMotor

# ------------------------------------------------------------------------------
class LedTestCase(unittest.TestCase):

   # ---------------------------------------------------------------------------
   def setUp(self):

      self.Target = Led('three')


   # ---------------------------------------------------------------------------
   def test_init(self):

      name = 'four'
      target = Led(name)
      self.assertEqual(name, target.Name)


   # ---------------------------------------------------------------------------
   def test_turnOn(self):

      self.Target.turnOn()


   # ---------------------------------------------------------------------------
   def test_turnOff(self):

      self.Target.turnOff()


   # ---------------------------------------------------------------------------
   def test_setFlashing(self):

      self.Target.setFlashing()


# ------------------------------------------------------------------------------
class VibrationMotorTestCase(unittest.TestCase):

   # ---------------------------------------------------------------------------
   def setUp(self):

      self.Target = VibrationMotor('two')


   # ---------------------------------------------------------------------------
   def test_init(self):

      name = 'one'
      target = VibrationMotor(name)
      self.assertEqual(name, target.Name)


   # ---------------------------------------------------------------------------
   def test_start(self):

      self.Target.start()


   # ---------------------------------------------------------------------------
   def test_stop(self):

      self.Target.stop()


# ------------------------------------------------------------------------------
if __name__ == '__main__':
    unittest.main()<commit_msg>check-in changes to a unit test<commit_after>import unittest
from sve.hw import Led
from sve.hw import VibrationMotor

# ------------------------------------------------------------------------------
class LedTestCase(unittest.TestCase):

   # ---------------------------------------------------------------------------
   def setUp(self):

      self.Target = Led('three')


   # ---------------------------------------------------------------------------
   def test_init(self):

      name = 'four'
      target = Led(name)
      self.assertEqual(name, target.Name)


   # ---------------------------------------------------------------------------
   def test_turnOn(self):

      # TODO
      #output = pibrella.output.e
      #self.assertEqual(0, output.read())
      self.Target.turnOn()
      #self.assertEqual(1, output.read())


   # ---------------------------------------------------------------------------
   def test_turnOff(self):

      # TODO
      #output = pibrella.output.f
      #self.assertEqual(0, output.read())
      self.Target.turnOff()
      #self.assertEqual(1, output.read())


   # ---------------------------------------------------------------------------
   def test_setFlashing(self):

      # TODO
      self.Target.setFlashing()
      # TODO


# ------------------------------------------------------------------------------
class VibrationMotorTestCase(unittest.TestCase):

   # ---------------------------------------------------------------------------
   def setUp(self):

      self.Target = VibrationMotor('two')


   # ---------------------------------------------------------------------------
   def test_init(self):

      name = 'one'
      target = VibrationMotor(name)
      self.assertEqual(name, target.Name)


   # ---------------------------------------------------------------------------
   def test_start(self):

      # TODO
      self.Target.start()
      # TODO


   # ---------------------------------------------------------------------------
   def test_stop(self):

      # TODO
      self.Target.stop()
      # TODO


# ------------------------------------------------------------------------------
if __name__ == '__main__':
    unittest.main()
{'fraction_non_alphanumeric': 0.515501968503937, 'fraction_numerical': 0.000984251968503937, 'mean_word_length': 0.6266506602641057, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1646356', 'n_tokens_mistral': 832, 'n_tokens_neox': 767, 'n_words': 138}