Commit 37a5a6e
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 <2488333+ryanplusplus@users.noreply.github.com>
* Secret Handshake: Removed the two lines (for testing) I forgot to remove.
---------
Co-authored-by: Ryan Hartlage <2488333+ryanplusplus@users.noreply.github.com>
[no important files changed]1 parent bc0105c commit 37a5a6e
1 file changed
Lines changed: 0 additions & 3 deletions
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
0 commit comments