X-Git-Url: http://git.scottworley.com/planeteer/blobdiff_plain/b7a6e28b4e3619a9b8ff18285bba9876de52549c..fc93fd36d80c2e19b770e0fd57eacd6c8b2779c6:/planeteer_test.go diff --git a/planeteer_test.go b/planeteer_test.go index 42baae0..a487ebf 100644 --- a/planeteer_test.go +++ b/planeteer_test.go @@ -4,7 +4,7 @@ import "testing" func TestEncodeDecode(t *testing.T) { dims := []int{3, 2, 4, 17, 26, 15, 2, 1, 2, 1} - var i int32 + var i PhysicalIndex for i = 0; i < 636480; i++ { // Product of dims addr := DecodeIndex(dims, i) for j := 0; j < len(dims); j++ { @@ -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",