From 93b063fedfcf7409a67df035170ea5670cad22e1 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 24 Nov 2020 13:46:41 -0700 Subject: Moved action to top level. Removed old iterations of the project and moved the files from 02-usart to the root directory since that's the sole place where the action is and that subproject has outgrown its initial title. --- 02-usart/tests/metatest.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 02-usart/tests/metatest.c (limited to '02-usart/tests/metatest.c') diff --git a/02-usart/tests/metatest.c b/02-usart/tests/metatest.c deleted file mode 100644 index 1024156..0000000 --- a/02-usart/tests/metatest.c +++ /dev/null @@ -1,22 +0,0 @@ -#include "test_harness.h" - -/* Tests the test harness itself. */ - -static int my_variable; -static int my_initialized_variable = 5; - -TEST(meta, clobbers_variables) -{ - my_variable = 6; - my_initialized_variable = 5; - - return 0; -} - -TEST(meta, variables_reset) -{ - ASSERT_EQ(my_variable, 0); - ASSERT_EQ(my_initialized_variable, 5); - - return 0; -} -- cgit