diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-01-31 23:40:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-01-31 23:42:05 +0900 |
| commit | 69c0972c81c60f47217a6e345b6e01b73de41af4 (patch) | |
| tree | b96bf24e40b2499db4092eb367cb53f5d9621b3d /test.sh | |
| parent | 21bf0f20145f0d7b5dc4d0922ef6e55120dcd583 (diff) | |
| download | pong-wars-quine.rb-69c0972c81c60f47217a6e345b6e01b73de41af4.tar.gz pong-wars-quine.rb-69c0972c81c60f47217a6e345b6e01b73de41af4.tar.zst pong-wars-quine.rb-69c0972c81c60f47217a6e345b6e01b73de41af4.zip | |
Diffstat (limited to 'test.sh')
| -rw-r--r-- | test.sh | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ +set -eu + +rm -f pw.*.rb pw.*.*.rb + +for i in {1..5}; do + ruby pw.rb $i > pw.$i.rb +done + +for i in {1..5}; do + for j in {1..5}; do + ruby pw.$i.rb $j > pw.$i.$j.rb + done +done + +for i in {1..5}; do + for j in {1..5}; do + diff pw.$i.rb pw.$j.$i.rb + done +done +echo "okay" |
