From 2b17b60716058a307b69b8c67c6f2a9d035b67e8 Mon Sep 17 00:00:00 2001 From: Thomas Jensen Date: Thu, 23 May 2019 21:32:06 +0200 Subject: [PATCH] Move some test designs out of the official config file --- boxes-config | 182 ----------------------------------- test/test-config-unused.cfg | 186 ++++++++++++++++++++++++++++++++++++ 2 files changed, 186 insertions(+), 182 deletions(-) create mode 100644 test/test-config-unused.cfg diff --git a/boxes-config b/boxes-config index 5946382..edddeda 100644 --- a/boxes-config +++ b/boxes-config @@ -1811,188 +1811,6 @@ END stone # ============================================================================ -BOX test1 - -author "Thomas Jensen " -designer "Thomas Jensen " - -sample test1 -ends - -shapes { - nw ("#") - n ("123") - s ("12345") - - se ("#") e ("#") sw ("#") ne ("#") w ("#") -} - -elastic (n,s,e, w) - -END test1 - - -# ============================================================================ - - -BOX test2 - -author "Thomas Jensen " -designer "Thomas Jensen " - -sample test2 -ends - -shapes { - nw ("#") - nnw ("--") sse ("---") - n ("123") - s ("12345") - - se ("#") e ("#") sw ("#") ne ("#") w ("#") -} - -elastic (n,s,e, w) - -END test2 - - -# ============================================================================ - - -BOX test3 - -author "Thomas Jensen " -designer "Thomas Jensen " - -sample test3 -ends - -shapes { - nnw ("123") - nne ("456") - n ("---") - s ("<>") - ssw ("12345") - sse ("67890") - - nw ("#") se ("#") e ("#") sw ("#") ne ("#") w ("#") -} - -elastic (nne,nnw,ssw,sse,e, w) - -END test3 - - -# ============================================================================ - - -BOX test4 - -author "Thomas Jensen " -designer "Thomas Jensen " - -sample test4 -ends - -shapes { - e ("1","2","3") - w ("1","2","3","4","5") - - s ("#") n ("#") nw ("#") se ("#") sw ("#") ne ("#") -} - -elastic (n,s,e, w) - -END test4 - - -# ============================================================================ - - -BOX test5 - -author "Thomas Jensen " -designer "Thomas Jensen " - -sample test5 - ends - -shapes { - e ("1","2","3") - w ("1","2","3","4","5") - ene ("|","|") - wsw ("|","|","|") - - s ("#") n ("#") nw ("#") se ("#") sw ("#") ne ("#") -} - -elastic (n,s,e, w) - -END test5 - - -# ============================================================================ - - -BOX test6 - -author "Thomas Jensen " -designer "Thomas Jensen " - -sample test6 -ends - -shapes { - ene ("1","2","3") - ese ("4","5","6") - wnw ("1","2","3","4","5") - wsw ("6","7","8","9","0") - e ("|","|") - w ("|","|","|") - - s ("#") n ("#-") nw ("#") se ("#") sw ("#") ne ("#") -} - -elastic (ene,ese,wnw,wsw,n,s) - -END test6 - - -# ============================================================================ - - -BOX retest - -author "Thomas Jensen " -designer "Thomas Jensen " -revision "1.1" -revdate "August 18, 1999 (Wednesday, 17:07h)" -created "April 04, 1999 (Sunday, 18:00h)" - -sample - regular expression test - use "foo", "bar", and "--" repeatedly in input - ends - -delimiter ?" - -shapes { nw ("*") ne ("*") sw ("*") se ("*") - n ("*") e ("*") s ("*") w ("*") -} - -elastic (n,e,s,W) - -replace once "bar" with "raba-raba" -replace global "f(o)o" with "fu\1\1\1\1\1\1" -replace "--" with "++++" - -END retest - - -# ============================================================================ - - BOX headline author "Thomas Jensen " diff --git a/test/test-config-unused.cfg b/test/test-config-unused.cfg new file mode 100644 index 0000000..76043f8 --- /dev/null +++ b/test/test-config-unused.cfg @@ -0,0 +1,186 @@ +# Some designs intended for testing. +# Currently unused. + + +BOX test1 + +author "Thomas Jensen " +designer "Thomas Jensen " + +sample test1 +ends + +shapes { + nw ("#") + n ("123") + s ("12345") + + se ("#") e ("#") sw ("#") ne ("#") w ("#") +} + +elastic (n,s,e, w) + +END test1 + + +# ============================================================================ + + +BOX test2 + +author "Thomas Jensen " +designer "Thomas Jensen " + +sample test2 +ends + +shapes { + nw ("#") + nnw ("--") sse ("---") + n ("123") + s ("12345") + + se ("#") e ("#") sw ("#") ne ("#") w ("#") +} + +elastic (n,s,e, w) + +END test2 + + +# ============================================================================ + + +BOX test3 + +author "Thomas Jensen " +designer "Thomas Jensen " + +sample test3 +ends + +shapes { + nnw ("123") + nne ("456") + n ("---") + s ("<>") + ssw ("12345") + sse ("67890") + + nw ("#") se ("#") e ("#") sw ("#") ne ("#") w ("#") +} + +elastic (nne,nnw,ssw,sse,e, w) + +END test3 + + +# ============================================================================ + + +BOX test4 + +author "Thomas Jensen " +designer "Thomas Jensen " + +sample test4 +ends + +shapes { + e ("1","2","3") + w ("1","2","3","4","5") + + s ("#") n ("#") nw ("#") se ("#") sw ("#") ne ("#") +} + +elastic (n,s,e, w) + +END test4 + + +# ============================================================================ + + +BOX test5 + +author "Thomas Jensen " +designer "Thomas Jensen " + +sample test5 + ends + +shapes { + e ("1","2","3") + w ("1","2","3","4","5") + ene ("|","|") + wsw ("|","|","|") + + s ("#") n ("#") nw ("#") se ("#") sw ("#") ne ("#") +} + +elastic (n,s,e, w) + +END test5 + + +# ============================================================================ + + +BOX test6 + +author "Thomas Jensen " +designer "Thomas Jensen " + +sample test6 +ends + +shapes { + ene ("1","2","3") + ese ("4","5","6") + wnw ("1","2","3","4","5") + wsw ("6","7","8","9","0") + e ("|","|") + w ("|","|","|") + + s ("#") n ("#-") nw ("#") se ("#") sw ("#") ne ("#") +} + +elastic (ene,ese,wnw,wsw,n,s) + +END test6 + + +# ============================================================================ + + +BOX retest + +author "Thomas Jensen " +designer "Thomas Jensen " +revision "1.1" +revdate "August 18, 1999 (Wednesday, 17:07h)" +created "April 04, 1999 (Sunday, 18:00h)" + +sample + regular expression test + use "foo", "bar", and "--" repeatedly in input + ends + +delimiter ?" + +shapes { nw ("*") ne ("*") sw ("*") se ("*") + n ("*") e ("*") s ("*") w ("*") +} + +elastic (n,e,s,W) + +replace once "bar" with "raba-raba" +replace global "f(o)o" with "fu\1\1\1\1\1\1" +replace "--" with "++++" + +END retest + + +# ============================================================================ + +#EOF vim: set ai sw=4: