Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
651 B

  1. #include "unity_fixture.h"
  2. TEST_GROUP_RUNNER(LedDriver) {
  3. RUN_TEST_CASE(LedDriver, LedsOffAfterCreate);
  4. RUN_TEST_CASE(LedDriver, TurnOnLedOne);
  5. RUN_TEST_CASE(LedDriver, TurnOffLedOne);
  6. RUN_TEST_CASE(LedDriver, TurnOnMultipleLeds);
  7. RUN_TEST_CASE(LedDriver, TurnAllOn);
  8. RUN_TEST_CASE(LedDriver, TurnOffAnyLed);
  9. RUN_TEST_CASE(LedDriver, LedMemoryIsNotReadable);
  10. RUN_TEST_CASE(LedDriver, UpperAndLowerBounds);
  11. RUN_TEST_CASE(LedDriver, OutOfBoundsTurnOnDoesNotHarm);
  12. RUN_TEST_CASE(LedDriver, OutOfBoundsTurnOffDoesNotHarm);
  13. RUN_TEST_CASE(LedDriver, OutOfBoundsProducesRuntimeError);
  14. RUN_TEST_CASE(LedDriver, OutOfBoundsToDo);
  15. }