Skip to content

Commit 37a5a6e

Browse files
authored
The test file of the Secret Handshake exercise executes all tests by default. (#1071)
* Secret Handshake: Revised the tests and .meta/example.c. - The previous version of tests let solutions with extra actions pass. - The tests now require that each solution returns an array of size 4, and the unused slots of the array be filled with NULL. - .meta/example.c has been revised suitably so that it passes all revised tests. * Secret Handshake: Reformat three C files with clang-format. * Secret Handshake: Removed unnecessary type cast of calloc. * Secret Handshake: Run format.sh for correcting the format of codes. * Secret Handshake: Format fix of one more file. * Update exercises/practice/secret-handshake/test_secret_handshake.c Co-authored-by: Ryan Hartlage <[email protected]> * Secret Handshake: Removed the two lines (for testing) I forgot to remove. --------- Co-authored-by: Ryan Hartlage <[email protected]> [no important files changed]
1 parent bc0105c commit 37a5a6e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

exercises/practice/secret-handshake/test_secret_handshake.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
#define ARRAY_SIZE 4
66

7-
#undef TEST_IGNORE
8-
#define TEST_IGNORE()
9-
107
void setUp(void)
118
{
129
}

0 commit comments

Comments
 (0)