diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-04-06 02:01:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 02:01:35 -0400 |
commit | 06da826131ba1c5e28731fc9bae975fc21b13da1 (patch) | |
tree | 751c4875cc9cdfedb5f74555c797b1b8e781dec4 /tests/template.c | |
parent | e5f87affc755245d3984b84547816e3d03b8f30a (diff) | |
download | spmc-06da826131ba1c5e28731fc9bae975fc21b13da1.tar.gz |
Test replace_text (#13)
* Add test boilerplate
* Add replace_text test
* Redo replace_text
Diffstat (limited to 'tests/template.c')
-rw-r--r-- | tests/template.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/template.c b/tests/template.c new file mode 100644 index 0000000..17e7e7c --- /dev/null +++ b/tests/template.c @@ -0,0 +1,15 @@ +#include "spm.h" +#include "framework.h" + +const char *testFmt = "returned '%s', expected '%s'\n"; +struct TestCase testCase[] = { + {}, +}; +size_t numCases = sizeof(testCase) / sizeof(struct TestCase); + +int main(int argc, char *argv[]) { + for (size_t i = 0; i < numCases; i++) { + // myassert() + } + return 0; +}
\ No newline at end of file |