From 1fe61cf3f87060e0e05754f2249f18ef9d9eb994 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 28 Aug 2010 11:08:19 -0400 Subject: [PATCH] Added regression test for interfunge. --- pit/CATALOG | 2 +- pit/Makefile | 2 ++ pit/interfunge.chk | 1 + pit/interfunge.tst | 5 +++++ 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 pit/interfunge.chk create mode 100644 pit/interfunge.tst diff --git a/pit/CATALOG b/pit/CATALOG index 248c61e..9712614 100644 --- a/pit/CATALOG +++ b/pit/CATALOG @@ -106,7 +106,7 @@ by Oerjan Johansen unlambda.doc Better-commented version of the above by Jeffrey Lee - interfunge.i A Befunge-93 interpreter in INTERCAL + interfunge.i + A Befunge-93 interpreter in INTERCAL by Brendan Gregg guess.i Guessing game implementation in INTERCAL diff --git a/pit/Makefile b/pit/Makefile index 2fb3be1..13c8e02 100644 --- a/pit/Makefile +++ b/pit/Makefile @@ -16,6 +16,7 @@ BASE2SOURCES = \ ./iching1.i \ ./iching2.i \ ./ins.i \ + ./interfunge \ ./lib/lib2.i \ ./lib/numio.i \ ./lib/plus.i \ @@ -97,6 +98,7 @@ test: $(TARGETS) @cat fft-delta.tst | ./fft | ./regresscheck fft-delta @cat fft-tophat.tst | ./fft | ./regresscheck fft-tophat @echo 'Hello, sailor!' | ./regresscheck icat + @cat interfunge.tst | ./interfunge | ./regresscheck interfunge @echo 'A man, a plan, a canal, Panama.' | ./rot13 | ./regresscheck rot13 @echo 'A man, a plan, a canal, Panama.' | ./rot13b | ./regresscheck rot13b @echo "FIVE" | ./pi | ./regresscheck pi diff --git a/pit/interfunge.chk b/pit/interfunge.chk new file mode 100644 index 0000000..980a0d5 --- /dev/null +++ b/pit/interfunge.chk @@ -0,0 +1 @@ +Hello World! diff --git a/pit/interfunge.tst b/pit/interfunge.tst new file mode 100644 index 0000000..b014fbc --- /dev/null +++ b/pit/interfunge.tst @@ -0,0 +1,5 @@ +> v +v ,,,,,"Hello"< +>48*, v +v,,,,,,"World!"< +>25*,@ -- 2.43.0