Soft'N'Design Software
/
projects
/
bs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3da700
)
add test
author
Mazet Laurent
<mazet@softndesign.org>
Mon, 3 Jun 2024 05:49:32 +0000
(07:49 +0200)
committer
Mazet Laurent
<mazet@softndesign.org>
Mon, 3 Jun 2024 05:49:32 +0000
(07:49 +0200)
battleships.c
patch
|
blob
|
blame
|
history
diff --git
a/battleships.c
b/battleships.c
index 5a177a35188b387d32b03ea39656133e92db98e2..79477fc0fe9c8a92f52d98f1f20b841c6ef762e1 100644
(file)
--- a/
battleships.c
+++ b/
battleships.c
@@
-284,5
+284,6
@@
int main (int argc, char *argv[])
/* test: echo q | battleships.exe -v 4 | grep "debug mode" */
/* test: battleships.exe _ 2>&1 | grep invalid */
/* test: echo -e '\n\n\n\n\t\nklllkkij \n\n\n\n\n \n\njjjkkil\n\t\n\nllk kji\n\t\nq' | battleships.exe */
+/* test: (for i in `seq 1 210`; do echo -n p; done; echo q) | battleships.exe */
/* vim: set ts=4 sw=4 et: */