From 7c0cb1f9fb1b5684991570e0fcb401a0502c7ee3 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Mon, 30 Dec 2013 19:54:54 +0000 Subject: [PATCH] Rename spades test and ignore local copy --- .gitignore | 1 + mkfile | 2 +- test.txt => spades.txt.example | 16 ++++++++-------- 3 files changed, 10 insertions(+), 9 deletions(-) rename test.txt => spades.txt.example (95%) diff --git a/.gitignore b/.gitignore index 5251d1c..dbad956 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.swp *.so *.o +spades.txt config.h diff --git a/mkfile b/mkfile index 201a4ec..47c1806 100644 --- a/mkfile +++ b/mkfile @@ -5,7 +5,7 @@ test:Q: rm -f var/sp_cur.json #awk -f rhawk < testirc.txt #awk -f rhawk < testirc.txt - awk -f test.awk test.txt \ + awk -f test.awk spades.txt \ | awk '-vDEBUG=1' -frhawk 2>&1 1>/dev/null \ | grep -v '^ > \(USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\)' \ | grep -v '^ . .*\(ACCOUNT\|IDENTIFY\|unicode\|colors\)' \ diff --git a/test.txt b/spades.txt.example similarity index 95% rename from test.txt rename to spades.txt.example index fcad0b0..9b582d5 100644 --- a/test.txt +++ b/spades.txt.example @@ -72,20 +72,20 @@ #d: . j o d . b7 +Ac pAc -Ah Kc Qc Jc 10c 9c 8c 7c 6c 5c 4c 3c 2c . . # Nil/blind (passing modified) -a: n j o d . b0 +As pAs Ad -b: . j o d l b1 +Ah pAh -Ac -c: . j o d l b7 +Ad pAd As -d: . j o d l b7 +Ac pAc -Ah +#a: n j o d . b0 +As pAs Ad +#b: . j o d l b1 +Ah pAh -Ac +#c: . j o d l b7 +Ad pAd As +#d: . j o d l b7 +Ac pAc -Ah #a: n j o d l b0 +As pAs Ad #b: . j o d l b0 +Ah pAh -Ac #c: . j o d l b7 +Ad pAd As #d: . j o d l b7 +Ac pAc -Ah -#a: n j o d l b0 . . As -#b: . j o d l b1 +Ah pAh -Ac -#c: . j o d l b7 . . Ad -#d: . j o d l b7 +Ac pAc -Ah +a: n j o d l b0 . . As +b: . j o d l b1 +Ah pAh -Ac +c: . j o d l b7 . . Ad +d: . j o d l b7 +Ac pAc -Ah # Test full game #a: n j o d l b1 -Ah As Ks Qs Js 10s 9s 8s 7s 6s 5s 4s 3s 2s t -- 2.43.2