]> git.scottworley.com Git - planeteer/blobdiff - planeteer_test.go
More named types: LogicalIndex
[planeteer] / planeteer_test.go
index a487ebf650e4c2afce49355bc5c48cc939356435..db3294cd51a3462b4e677751d1115e255eafe434 100644 (file)
@@ -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)