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.

23 lines
286 B

  1. #ifdef TEST
  2. #include "unity.h"
  3. #include "outputHandling.h"
  4. char string[100]= {0};
  5. void setUp(void)
  6. {
  7. }
  8. void tearDown(void)
  9. {
  10. }
  11. void test_outputHandling_buildOctString(void)
  12. {
  13. buildOctString(string, 5555555);
  14. TEST_ASSERT_EQUAL_STRING("25142543", string);
  15. }
  16. #endif // TEST