11 Dim s As String = ""
\r
13 a = New String(1) { "0", "1" }
\r
14 b = New String(1,1) { {"0,0", "0,1"}, {"1,0", "1,1"} }
\r
15 c = New String(1,1,1) { {{"0,0,0", "0,0,1"}, {"0,1,0", "0,1,1"}}, {{"1,0,0", "1,0,1"}, {"1,1,0", "1,1,1"}} }
\r
17 ' Testing with monodimensional array
\r
19 s = String.Format ("/{0}/{1}", o(0), o(1))
\r
21 ' Testing with bidimensional array
\r
23 s = s & String.Format ("/{0}/{1}/{2}/{3}", o(0,0), o(0,1), o(1,0), o(1,1))
\r
25 ' Testing with tridimensional array
\r
27 s = s & String.Format ("/{0}/{1}/{2}/{3}/{4}/{5}/{6}/{7}/", o(0,0,0), o(0,0,1), o(0,1,0), o(0,1,1), o(1,0,0), o(1,0,1), o(1,1,0), o(1,1,1))
\r
28 Console.WriteLine (TestUtils.GenerateHash(s))
\r