Browse Source

Create exp files

master
fdai7848 11 months ago
parent
commit
8e8b79ac14
  1. 5
      src/exponent.c
  2. 6
      src/exponent.h
  3. 21
      test/test_exponent.c

5
src/exponent.c

@ -0,0 +1,5 @@
#include "exponent.h"
int expI(unsigned int e, int num){
return 0;
}

6
src/exponent.h

@ -0,0 +1,6 @@
#ifndef EXPONENT_H
#define EXPONENT_H
int expI(unsigned int e, int num);
#endif // exponent.h

21
test/test_exponent.c

@ -0,0 +1,21 @@
#ifdef TEST
#include "unity.h"
#include "exponent.h"
void setUp(void)
{
}
void tearDown(void)
{
}
void test_IntegerExponent_NeedToImplement(void)
{
TEST_IGNORE_MESSAGE("Integer Exponent needs to be implemented");
}
#endif // TEST
Loading…
Cancel
Save