summaryrefslogtreecommitdiff
path: root/capset_test.go
diff options
context:
space:
mode:
authorJoe Anderson <jandew+dev@gmail.com>2014-07-02 10:49:33 -0500
committerJoe Anderson <jandew+dev@gmail.com>2014-07-02 10:49:33 -0500
commit8f8cd7798629c1fe857eded368befad561b7ece8 (patch)
tree98a1405199c63118043c6d05146dcee40290c008 /capset_test.go
parent85f763714aa2b71053b3d03bbe1612fd27cfa780 (diff)
downloadcapset-8f8cd7798629c1fe857eded368befad561b7ece8.tar.gz
capset-8f8cd7798629c1fe857eded368befad561b7ece8.zip
Reversed the card order
Diffstat (limited to 'capset_test.go')
-rw-r--r--capset_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/capset_test.go b/capset_test.go
index f2693ca..de8876c 100644
--- a/capset_test.go
+++ b/capset_test.go
@@ -15,11 +15,11 @@ var capsettests = []struct {
maxim int
start, finish []Card
}{
- {20, []Card{"2222", "2221", "2212", "2211", "2122", "2121", "2112", "2111",
- "1222", "1221", "1210"},
- []Card{"2222", "2221", "2212", "2211", "2122", "2121", "2112", "2111",
- "1222", "1221", "1210", "1200", "1120", "1020", "0210", "0120", "0112",
- "0111", "0100", "0010"}},
+ {20, []Card{"0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111",
+ "1000", "1001", "1012"},
+ []Card{"0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111",
+ "1000", "1001", "1012", "1022", "1102", "1202", "2012", "2102", "2110",
+ "2111", "2122", "2212"}},
}
func TestFindNextCapset(t *testing.T) {