From 0b5450d05c98701e02412b9cc712595d01518263 Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 6 May 2020 04:07:11 +0100 Subject: ~test_header_depths -> test_compile_line_header_depths --- Converter/includes/test.h | 2 +- Converter/src/main.c | 3 ++- Converter/src/test.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Converter/includes/test.h b/Converter/includes/test.h index 372e6e8..8941ecd 100644 --- a/Converter/includes/test.h +++ b/Converter/includes/test.h @@ -3,6 +3,6 @@ // Test methods to run -void test_header_depths(void); +void test_compile_line_header_depth(void); #endif // __TEST_H_ diff --git a/Converter/src/main.c b/Converter/src/main.c index 8d03c02..4e65cb0 100644 --- a/Converter/src/main.c +++ b/Converter/src/main.c @@ -11,7 +11,8 @@ int main(int argc, char *argv[]) if (strncmp(argv[1], "--test", 7) == 0) { // run tests - test_header_depths(); + fputs("Running header test (how does compile_string handle # headers?)\n", stderr); + test_compile_line_header_depth(); } } } diff --git a/Converter/src/test.c b/Converter/src/test.c index 82f8cd0..f56463c 100644 --- a/Converter/src/test.c +++ b/Converter/src/test.c @@ -3,7 +3,7 @@ #include #include -void test_header_depths(void) +void test_compile_line_header_depth(void) { const int test_size = 5; string test_strings[] = {"Header", "#Header", "##Header", "#Header#", -- cgit v1.2.3-13-gbd6f