X-Git-Url: http://git.scottworley.com/planeteer/blobdiff_plain/db81510d35a720dc85793c0684a9c13a5ae38237..a29aebecc25a3b2c40c86f11818d79e367b5ce30:/planeteer_test.go diff --git a/planeteer_test.go b/planeteer_test.go index a77d0be..db3294c 100644 --- a/planeteer_test.go +++ b/planeteer_test.go @@ -3,7 +3,7 @@ package main import "testing" func TestEncodeDecode(t *testing.T) { - dims := []int{3, 2, 4, 17, 26, 15, 2, 1, 2, 1} + dims := LogicalIndex{3, 2, 4, 17, 26, 15, 2, 1, 2, 1} var i PhysicalIndex for i = 0; i < 636480; i++ { // Product of dims addr := DecodeIndex(dims, i) @@ -19,7 +19,7 @@ func TestEncodeDecode(t *testing.T) { } func TestCommas(t *testing.T) { - cases := map[int32]string{ + cases := map[Value]string{ 1: "1", 10: "10", 100: "100",