X-Git-Url: http://git.scottworley.com/planeteer/blobdiff_plain/fc93fd36d80c2e19b770e0fd57eacd6c8b2779c6..785c799cfb57b186acbf6a7bf6c4cbd2b038daeb:/planeteer_test.go diff --git a/planeteer_test.go b/planeteer_test.go index a487ebf..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)