Browse Source

Create Hex Output Test

remotes/origin/Input_Handling
Sophia Weber 11 months ago
parent
commit
999af48802
  1. 2
      src/outputHandling.h
  2. 7
      test/test_outputHandling.c

2
src/outputHandling.h

@ -3,6 +3,8 @@
#include "inputHandling.h"
extern void buildHexString(char* string, int num);
extern void buildOctString(char* string, int num);
extern void showResult(calc_op* res);
#endif // OUTPUTHANDLING_H

7
test/test_outputHandling.c

@ -4,6 +4,8 @@
#include "outputHandling.h"
char string[100]= {0};
void setUp(void)
{
}
@ -12,9 +14,10 @@ void tearDown(void)
{
}
void test_outputHandling_NeedToImplement(void)
void test_outputHandling_buildOctString(void)
{
TEST_IGNORE_MESSAGE("Need to Implement outputHandling");
buildOctString(string, 5555555);
TEST_ASSERT_EQUAL_STRING("25142543", string);
}
#endif // TEST
Loading…
Cancel
Save