From 8e8b79ac14859007b7ae09ffa3cc1d9d8fea7e36 Mon Sep 17 00:00:00 2001 From: fdai7848 Date: Mon, 29 Jan 2024 09:59:18 +0100 Subject: [PATCH] Create exp files --- src/exponent.c | 5 +++++ src/exponent.h | 6 ++++++ test/test_exponent.c | 21 +++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 src/exponent.c create mode 100644 src/exponent.h create mode 100644 test/test_exponent.c diff --git a/src/exponent.c b/src/exponent.c new file mode 100644 index 0000000..413f97c --- /dev/null +++ b/src/exponent.c @@ -0,0 +1,5 @@ +#include "exponent.h" + +int expI(unsigned int e, int num){ + return 0; +} \ No newline at end of file diff --git a/src/exponent.h b/src/exponent.h new file mode 100644 index 0000000..1fea7aa --- /dev/null +++ b/src/exponent.h @@ -0,0 +1,6 @@ +#ifndef EXPONENT_H +#define EXPONENT_H + +int expI(unsigned int e, int num); + +#endif // exponent.h \ No newline at end of file diff --git a/test/test_exponent.c b/test/test_exponent.c new file mode 100644 index 0000000..b0edf7f --- /dev/null +++ b/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 \ No newline at end of file