Skip to content

Instantly share code, notes, and snippets.

@Y-Less
Created March 25, 2015 22:22
Show Gist options
  • Save Y-Less/2cb79a656f6dc8c95e58 to your computer and use it in GitHub Desktop.
Save Y-Less/2cb79a656f6dc8c95e58 to your computer and use it in GitHub Desktop.
"foreach" syntax test
Test:y_iter_Syntax1()
{
new
Iterator:Test1_y_tter<100>;
Iter_Add(Test1_y_tter, 11);
Iter_Add(Test1_y_tter, 12);
Iter_Add(Test1_y_tter, 13);
Iter_Add(Test1_y_tter, 16);
Iter_Add(Test1_y_tter, 19);
Iter_Add(Test1_y_tter, 22);
Iter_Add(Test1_y_tter, 23);
new
count = 0;
foreach(new i:Test1_y_tter) { ++count; }
foreach(new i:Test1_y_tter ) { ++count; }
foreach(new i: Test1_y_tter) { ++count; }
foreach(new i: Test1_y_tter ) { ++count; }
foreach(new i :Test1_y_tter) { ++count; }
foreach(new i :Test1_y_tter ) { ++count; }
foreach(new i : Test1_y_tter) { ++count; }
foreach(new i : Test1_y_tter ) { ++count; }
foreach( new i:Test1_y_tter) { ++count; }
foreach( new i:Test1_y_tter ) { ++count; }
foreach( new i: Test1_y_tter) { ++count; }
foreach( new i: Test1_y_tter ) { ++count; }
foreach( new i :Test1_y_tter) { ++count; }
foreach( new i :Test1_y_tter ) { ++count; }
foreach( new i : Test1_y_tter) { ++count; }
foreach( new i : Test1_y_tter ) { ++count; }
foreach (new i:Test1_y_tter) { ++count; }
foreach (new i:Test1_y_tter ) { ++count; }
foreach (new i: Test1_y_tter) { ++count; }
foreach (new i: Test1_y_tter ) { ++count; }
foreach (new i :Test1_y_tter) { ++count; }
foreach (new i :Test1_y_tter ) { ++count; }
foreach (new i : Test1_y_tter) { ++count; }
foreach (new i : Test1_y_tter ) { ++count; }
foreach ( new i:Test1_y_tter) { ++count; }
foreach ( new i:Test1_y_tter ) { ++count; }
foreach ( new i: Test1_y_tter) { ++count; }
foreach ( new i: Test1_y_tter ) { ++count; }
foreach ( new i :Test1_y_tter) { ++count; }
foreach ( new i :Test1_y_tter ) { ++count; }
foreach ( new i : Test1_y_tter) { ++count; }
foreach ( new i : Test1_y_tter ) { ++count; }
new
j;
foreach(j:Test1_y_tter) { ++count; }
foreach(j:Test1_y_tter ) { ++count; }
foreach(j: Test1_y_tter) { ++count; }
foreach(j: Test1_y_tter ) { ++count; }
foreach(j :Test1_y_tter) { ++count; }
foreach(j :Test1_y_tter ) { ++count; }
foreach(j : Test1_y_tter) { ++count; }
foreach(j : Test1_y_tter ) { ++count; }
foreach( j:Test1_y_tter) { ++count; }
foreach( j:Test1_y_tter ) { ++count; }
foreach( j: Test1_y_tter) { ++count; }
foreach( j: Test1_y_tter ) { ++count; }
foreach( j :Test1_y_tter) { ++count; }
foreach( j :Test1_y_tter ) { ++count; }
foreach( j : Test1_y_tter) { ++count; }
foreach( j : Test1_y_tter ) { ++count; }
foreach (j:Test1_y_tter) { ++count; }
foreach (j:Test1_y_tter ) { ++count; }
foreach (j: Test1_y_tter) { ++count; }
foreach (j: Test1_y_tter ) { ++count; }
foreach (j :Test1_y_tter) { ++count; }
foreach (j :Test1_y_tter ) { ++count; }
foreach (j : Test1_y_tter) { ++count; }
foreach (j : Test1_y_tter ) { ++count; }
foreach ( j:Test1_y_tter) { ++count; }
foreach ( j:Test1_y_tter ) { ++count; }
foreach ( j: Test1_y_tter) { ++count; }
foreach ( j: Test1_y_tter ) { ++count; }
foreach ( j :Test1_y_tter) { ++count; }
foreach ( j :Test1_y_tter ) { ++count; }
foreach ( j : Test1_y_tter) { ++count; }
foreach ( j : Test1_y_tter ) { ++count; }
ASSERT(count == 7 * 2 * 32);
}
Test:y_iter_Syntax5a()
{
new
count = 0;
foreach(new i:Test5a_y_tter[2] <11>) { ++count; }
foreach(new i:Test5a_y_tter[2] <11> ) { ++count; }
foreach(new i: Test5a_y_tter[2] <11>) { ++count; }
foreach(new i: Test5a_y_tter[2] <11> ) { ++count; }
foreach(new i :Test5a_y_tter[2] <11>) { ++count; }
foreach(new i :Test5a_y_tter[2] <11> ) { ++count; }
foreach(new i : Test5a_y_tter[2] <11>) { ++count; }
foreach(new i : Test5a_y_tter[2] <11> ) { ++count; }
foreach( new i:Test5a_y_tter[2] <11>) { ++count; }
foreach( new i:Test5a_y_tter[2] <11> ) { ++count; }
foreach( new i: Test5a_y_tter[2] <11>) { ++count; }
foreach( new i: Test5a_y_tter[2] <11> ) { ++count; }
foreach( new i :Test5a_y_tter[2] <11>) { ++count; }
foreach( new i :Test5a_y_tter[2] <11> ) { ++count; }
foreach( new i : Test5a_y_tter[2] <11>) { ++count; }
foreach( new i : Test5a_y_tter[2] <11> ) { ++count; }
foreach (new i:Test5a_y_tter[2] <11>) { ++count; }
foreach (new i:Test5a_y_tter[2] <11> ) { ++count; }
foreach (new i: Test5a_y_tter[2] <11>) { ++count; }
foreach (new i: Test5a_y_tter[2] <11> ) { ++count; }
foreach (new i :Test5a_y_tter[2] <11>) { ++count; }
foreach (new i :Test5a_y_tter[2] <11> ) { ++count; }
foreach (new i : Test5a_y_tter[2] <11>) { ++count; }
foreach (new i : Test5a_y_tter[2] <11> ) { ++count; }
foreach ( new i:Test5a_y_tter[2] <11>) { ++count; }
foreach ( new i:Test5a_y_tter[2] <11> ) { ++count; }
foreach ( new i: Test5a_y_tter[2] <11>) { ++count; }
foreach ( new i: Test5a_y_tter[2] <11> ) { ++count; }
foreach ( new i :Test5a_y_tter[2] <11>) { ++count; }
foreach ( new i :Test5a_y_tter[2] <11> ) { ++count; }
foreach ( new i : Test5a_y_tter[2] <11>) { ++count; }
foreach ( new i : Test5a_y_tter[2] <11> ) { ++count; }
new
j;
foreach(j:Test5a_y_tter[ 2]< 11>) { ++count; }
foreach(j:Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach(j: Test5a_y_tter[ 2]< 11>) { ++count; }
foreach(j: Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach(j :Test5a_y_tter[ 2]< 11>) { ++count; }
foreach(j :Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach(j : Test5a_y_tter[ 2]< 11>) { ++count; }
foreach(j : Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach( j:Test5a_y_tter[ 2]< 11>) { ++count; }
foreach( j:Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach( j: Test5a_y_tter[ 2]< 11>) { ++count; }
foreach( j: Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach( j :Test5a_y_tter[ 2]< 11>) { ++count; }
foreach( j :Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach( j : Test5a_y_tter[ 2]< 11>) { ++count; }
foreach( j : Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach (j:Test5a_y_tter[ 2]< 11>) { ++count; }
foreach (j:Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach (j: Test5a_y_tter[ 2]< 11>) { ++count; }
foreach (j: Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach (j :Test5a_y_tter[ 2]< 11>) { ++count; }
foreach (j :Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach (j : Test5a_y_tter[ 2]< 11>) { ++count; }
foreach (j : Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach ( j:Test5a_y_tter[ 2]< 11>) { ++count; }
foreach ( j:Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach ( j: Test5a_y_tter[ 2]< 11>) { ++count; }
foreach ( j: Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach ( j :Test5a_y_tter[ 2]< 11>) { ++count; }
foreach ( j :Test5a_y_tter[ 2]< 11> ) { ++count; }
foreach ( j : Test5a_y_tter[ 2]< 11>) { ++count; }
foreach ( j : Test5a_y_tter[ 2]< 11> ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax5b[2]<11>
{
new
count = 0;
foreach(new i:Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach(new i:Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach(new i: Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach(new i: Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach(new i :Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach(new i :Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach(new i : Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach(new i : Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach( new i:Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach( new i:Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach( new i: Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach( new i: Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach( new i :Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach( new i :Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach( new i : Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach( new i : Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach (new i:Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach (new i:Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach (new i: Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach (new i: Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach (new i :Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach (new i :Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach (new i : Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach (new i : Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach ( new i:Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach ( new i:Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach ( new i: Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach ( new i: Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach ( new i :Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach ( new i :Test5b_y_tter[ 20 ] < 11> ) { ++count; }
foreach ( new i : Test5b_y_tter[ 20 ] < 11>) { ++count; }
foreach ( new i : Test5b_y_tter[ 20 ] < 11> ) { ++count; }
new
j;
foreach(j:Test5b_y_tter[20 ]<11 >) { ++count; }
foreach(j:Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach(j: Test5b_y_tter[20 ]<11 >) { ++count; }
foreach(j: Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach(j :Test5b_y_tter[20 ]<11 >) { ++count; }
foreach(j :Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach(j : Test5b_y_tter[20 ]<11 >) { ++count; }
foreach(j : Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach( j:Test5b_y_tter[20 ]<11 >) { ++count; }
foreach( j:Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach( j: Test5b_y_tter[20 ]<11 >) { ++count; }
foreach( j: Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach( j :Test5b_y_tter[20 ]<11 >) { ++count; }
foreach( j :Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach( j : Test5b_y_tter[20 ]<11 >) { ++count; }
foreach( j : Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach (j:Test5b_y_tter[20 ]<11 >) { ++count; }
foreach (j:Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach (j: Test5b_y_tter[20 ]<11 >) { ++count; }
foreach (j: Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach (j :Test5b_y_tter[20 ]<11 >) { ++count; }
foreach (j :Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach (j : Test5b_y_tter[20 ]<11 >) { ++count; }
foreach (j : Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach ( j:Test5b_y_tter[20 ]<11 >) { ++count; }
foreach ( j:Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach ( j: Test5b_y_tter[20 ]<11 >) { ++count; }
foreach ( j: Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach ( j :Test5b_y_tter[20 ]<11 >) { ++count; }
foreach ( j :Test5b_y_tter[20 ]<11 > ) { ++count; }
foreach ( j : Test5b_y_tter[20 ]<11 >) { ++count; }
foreach ( j : Test5b_y_tter[20 ]<11 > ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax5c[2]<11>
{
new
count = 0;
foreach(new i:Test5c_y_tter [2] <11 >) { ++count; }
foreach(new i:Test5c_y_tter [2] <11 > ) { ++count; }
foreach(new i: Test5c_y_tter [2] <11 >) { ++count; }
foreach(new i: Test5c_y_tter [2] <11 > ) { ++count; }
foreach(new i :Test5c_y_tter [2] <11 >) { ++count; }
foreach(new i :Test5c_y_tter [2] <11 > ) { ++count; }
foreach(new i : Test5c_y_tter [2] <11 >) { ++count; }
foreach(new i : Test5c_y_tter [2] <11 > ) { ++count; }
foreach( new i:Test5c_y_tter [2] <11 >) { ++count; }
foreach( new i:Test5c_y_tter [2] <11 > ) { ++count; }
foreach( new i: Test5c_y_tter [2] <11 >) { ++count; }
foreach( new i: Test5c_y_tter [2] <11 > ) { ++count; }
foreach( new i :Test5c_y_tter [2] <11 >) { ++count; }
foreach( new i :Test5c_y_tter [2] <11 > ) { ++count; }
foreach( new i : Test5c_y_tter [2] <11 >) { ++count; }
foreach( new i : Test5c_y_tter [2] <11 > ) { ++count; }
foreach (new i:Test5c_y_tter [2] <11 >) { ++count; }
foreach (new i:Test5c_y_tter [2] <11 > ) { ++count; }
foreach (new i: Test5c_y_tter [2] <11 >) { ++count; }
foreach (new i: Test5c_y_tter [2] <11 > ) { ++count; }
foreach (new i :Test5c_y_tter [2] <11 >) { ++count; }
foreach (new i :Test5c_y_tter [2] <11 > ) { ++count; }
foreach (new i : Test5c_y_tter [2] <11 >) { ++count; }
foreach (new i : Test5c_y_tter [2] <11 > ) { ++count; }
foreach ( new i:Test5c_y_tter [2] <11 >) { ++count; }
foreach ( new i:Test5c_y_tter [2] <11 > ) { ++count; }
foreach ( new i: Test5c_y_tter [2] <11 >) { ++count; }
foreach ( new i: Test5c_y_tter [2] <11 > ) { ++count; }
foreach ( new i :Test5c_y_tter [2] <11 >) { ++count; }
foreach ( new i :Test5c_y_tter [2] <11 > ) { ++count; }
foreach ( new i : Test5c_y_tter [2] <11 >) { ++count; }
foreach ( new i : Test5c_y_tter [2] <11 > ) { ++count; }
new
j;
foreach(j:Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach(j:Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach(j: Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach(j: Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach(j :Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach(j :Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach(j : Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach(j : Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach( j:Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach( j:Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach( j: Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach( j: Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach( j :Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach( j :Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach( j : Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach( j : Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach (j:Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach (j:Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach (j: Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach (j: Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach (j :Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach (j :Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach (j : Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach (j : Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach ( j:Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach ( j:Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach ( j: Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach ( j: Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach ( j :Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach ( j :Test5c_y_tter [ 2]< 11 > ) { ++count; }
foreach ( j : Test5c_y_tter [ 2]< 11 >) { ++count; }
foreach ( j : Test5c_y_tter [ 2]< 11 > ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax5d[2]<11>
{
new
count = 0;
foreach(new i:Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach(new i:Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach(new i: Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach(new i: Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach(new i :Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach(new i :Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach(new i : Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach(new i : Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach( new i:Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach( new i:Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach( new i: Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach( new i: Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach( new i :Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach( new i :Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach( new i : Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach( new i : Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach (new i:Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach (new i:Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach (new i: Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach (new i: Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach (new i :Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach (new i :Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach (new i : Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach (new i : Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach ( new i:Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach ( new i:Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach ( new i: Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach ( new i: Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach ( new i :Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach ( new i :Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
foreach ( new i : Test5d_y_tter [ 20 ] < 11 >) { ++count; }
foreach ( new i : Test5d_y_tter [ 20 ] < 11 > ) { ++count; }
new
j;
foreach(j:Test5d_y_tter [20 ]<11>) { ++count; }
foreach(j:Test5d_y_tter [20 ]<11> ) { ++count; }
foreach(j: Test5d_y_tter [20 ]<11>) { ++count; }
foreach(j: Test5d_y_tter [20 ]<11> ) { ++count; }
foreach(j :Test5d_y_tter [20 ]<11>) { ++count; }
foreach(j :Test5d_y_tter [20 ]<11> ) { ++count; }
foreach(j : Test5d_y_tter [20 ]<11>) { ++count; }
foreach(j : Test5d_y_tter [20 ]<11> ) { ++count; }
foreach( j:Test5d_y_tter [20 ]<11>) { ++count; }
foreach( j:Test5d_y_tter [20 ]<11> ) { ++count; }
foreach( j: Test5d_y_tter [20 ]<11>) { ++count; }
foreach( j: Test5d_y_tter [20 ]<11> ) { ++count; }
foreach( j :Test5d_y_tter [20 ]<11>) { ++count; }
foreach( j :Test5d_y_tter [20 ]<11> ) { ++count; }
foreach( j : Test5d_y_tter [20 ]<11>) { ++count; }
foreach( j : Test5d_y_tter [20 ]<11> ) { ++count; }
foreach (j:Test5d_y_tter [20 ]<11>) { ++count; }
foreach (j:Test5d_y_tter [20 ]<11> ) { ++count; }
foreach (j: Test5d_y_tter [20 ]<11>) { ++count; }
foreach (j: Test5d_y_tter [20 ]<11> ) { ++count; }
foreach (j :Test5d_y_tter [20 ]<11>) { ++count; }
foreach (j :Test5d_y_tter [20 ]<11> ) { ++count; }
foreach (j : Test5d_y_tter [20 ]<11>) { ++count; }
foreach (j : Test5d_y_tter [20 ]<11> ) { ++count; }
foreach ( j:Test5d_y_tter [20 ]<11>) { ++count; }
foreach ( j:Test5d_y_tter [20 ]<11> ) { ++count; }
foreach ( j: Test5d_y_tter [20 ]<11>) { ++count; }
foreach ( j: Test5d_y_tter [20 ]<11> ) { ++count; }
foreach ( j :Test5d_y_tter [20 ]<11>) { ++count; }
foreach ( j :Test5d_y_tter [20 ]<11> ) { ++count; }
foreach ( j : Test5d_y_tter [20 ]<11>) { ++count; }
foreach ( j : Test5d_y_tter [20 ]<11> ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax4a()
{
new
count = 0;
foreach(new i:Test4a_y_tter[3]) { ++count; }
foreach(new i:Test4a_y_tter[3] ) { ++count; }
foreach(new i: Test4a_y_tter[3]) { ++count; }
foreach(new i: Test4a_y_tter[3] ) { ++count; }
foreach(new i :Test4a_y_tter[3]) { ++count; }
foreach(new i :Test4a_y_tter[3] ) { ++count; }
foreach(new i : Test4a_y_tter[3]) { ++count; }
foreach(new i : Test4a_y_tter[3] ) { ++count; }
foreach( new i:Test4a_y_tter[3]) { ++count; }
foreach( new i:Test4a_y_tter[3] ) { ++count; }
foreach( new i: Test4a_y_tter[3]) { ++count; }
foreach( new i: Test4a_y_tter[3] ) { ++count; }
foreach( new i :Test4a_y_tter[3]) { ++count; }
foreach( new i :Test4a_y_tter[3] ) { ++count; }
foreach( new i : Test4a_y_tter[3]) { ++count; }
foreach( new i : Test4a_y_tter[3] ) { ++count; }
foreach (new i:Test4a_y_tter[3]) { ++count; }
foreach (new i:Test4a_y_tter[3] ) { ++count; }
foreach (new i: Test4a_y_tter[3]) { ++count; }
foreach (new i: Test4a_y_tter[3] ) { ++count; }
foreach (new i :Test4a_y_tter[3]) { ++count; }
foreach (new i :Test4a_y_tter[3] ) { ++count; }
foreach (new i : Test4a_y_tter[3]) { ++count; }
foreach (new i : Test4a_y_tter[3] ) { ++count; }
foreach ( new i:Test4a_y_tter[3]) { ++count; }
foreach ( new i:Test4a_y_tter[3] ) { ++count; }
foreach ( new i: Test4a_y_tter[3]) { ++count; }
foreach ( new i: Test4a_y_tter[3] ) { ++count; }
foreach ( new i :Test4a_y_tter[3]) { ++count; }
foreach ( new i :Test4a_y_tter[3] ) { ++count; }
foreach ( new i : Test4a_y_tter[3]) { ++count; }
foreach ( new i : Test4a_y_tter[3] ) { ++count; }
new
j;
foreach(j:Test4a_y_tter[ 3]) { ++count; }
foreach(j:Test4a_y_tter[ 3] ) { ++count; }
foreach(j: Test4a_y_tter[ 3]) { ++count; }
foreach(j: Test4a_y_tter[ 3] ) { ++count; }
foreach(j :Test4a_y_tter[ 3]) { ++count; }
foreach(j :Test4a_y_tter[ 3] ) { ++count; }
foreach(j : Test4a_y_tter[ 3]) { ++count; }
foreach(j : Test4a_y_tter[ 3] ) { ++count; }
foreach( j:Test4a_y_tter[ 3]) { ++count; }
foreach( j:Test4a_y_tter[ 3] ) { ++count; }
foreach( j: Test4a_y_tter[ 3]) { ++count; }
foreach( j: Test4a_y_tter[ 3] ) { ++count; }
foreach( j :Test4a_y_tter[ 3]) { ++count; }
foreach( j :Test4a_y_tter[ 3] ) { ++count; }
foreach( j : Test4a_y_tter[ 3]) { ++count; }
foreach( j : Test4a_y_tter[ 3] ) { ++count; }
foreach (j:Test4a_y_tter[ 3]) { ++count; }
foreach (j:Test4a_y_tter[ 3] ) { ++count; }
foreach (j: Test4a_y_tter[ 3]) { ++count; }
foreach (j: Test4a_y_tter[ 3] ) { ++count; }
foreach (j :Test4a_y_tter[ 3]) { ++count; }
foreach (j :Test4a_y_tter[ 3] ) { ++count; }
foreach (j : Test4a_y_tter[ 3]) { ++count; }
foreach (j : Test4a_y_tter[ 3] ) { ++count; }
foreach ( j:Test4a_y_tter[ 3]) { ++count; }
foreach ( j:Test4a_y_tter[ 3] ) { ++count; }
foreach ( j: Test4a_y_tter[ 3]) { ++count; }
foreach ( j: Test4a_y_tter[ 3] ) { ++count; }
foreach ( j :Test4a_y_tter[ 3]) { ++count; }
foreach ( j :Test4a_y_tter[ 3] ) { ++count; }
foreach ( j : Test4a_y_tter[ 3]) { ++count; }
foreach ( j : Test4a_y_tter[ 3] ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax4b[3]
{
new
count = 0;
foreach(new i:Test4b_y_tter[ 0 ]) { ++count; }
foreach(new i:Test4b_y_tter[ 0 ] ) { ++count; }
foreach(new i: Test4b_y_tter[ 0 ]) { ++count; }
foreach(new i: Test4b_y_tter[ 0 ] ) { ++count; }
foreach(new i :Test4b_y_tter[ 0 ]) { ++count; }
foreach(new i :Test4b_y_tter[ 0 ] ) { ++count; }
foreach(new i : Test4b_y_tter[ 0 ]) { ++count; }
foreach(new i : Test4b_y_tter[ 0 ] ) { ++count; }
foreach( new i:Test4b_y_tter[ 0 ]) { ++count; }
foreach( new i:Test4b_y_tter[ 0 ] ) { ++count; }
foreach( new i: Test4b_y_tter[ 0 ]) { ++count; }
foreach( new i: Test4b_y_tter[ 0 ] ) { ++count; }
foreach( new i :Test4b_y_tter[ 0 ]) { ++count; }
foreach( new i :Test4b_y_tter[ 0 ] ) { ++count; }
foreach( new i : Test4b_y_tter[ 0 ]) { ++count; }
foreach( new i : Test4b_y_tter[ 0 ] ) { ++count; }
foreach (new i:Test4b_y_tter[ 0 ]) { ++count; }
foreach (new i:Test4b_y_tter[ 0 ] ) { ++count; }
foreach (new i: Test4b_y_tter[ 0 ]) { ++count; }
foreach (new i: Test4b_y_tter[ 0 ] ) { ++count; }
foreach (new i :Test4b_y_tter[ 0 ]) { ++count; }
foreach (new i :Test4b_y_tter[ 0 ] ) { ++count; }
foreach (new i : Test4b_y_tter[ 0 ]) { ++count; }
foreach (new i : Test4b_y_tter[ 0 ] ) { ++count; }
foreach ( new i:Test4b_y_tter[ 0 ]) { ++count; }
foreach ( new i:Test4b_y_tter[ 0 ] ) { ++count; }
foreach ( new i: Test4b_y_tter[ 0 ]) { ++count; }
foreach ( new i: Test4b_y_tter[ 0 ] ) { ++count; }
foreach ( new i :Test4b_y_tter[ 0 ]) { ++count; }
foreach ( new i :Test4b_y_tter[ 0 ] ) { ++count; }
foreach ( new i : Test4b_y_tter[ 0 ]) { ++count; }
foreach ( new i : Test4b_y_tter[ 0 ] ) { ++count; }
new
j;
foreach(j:Test4b_y_tter[0 ]) { ++count; }
foreach(j:Test4b_y_tter[0 ] ) { ++count; }
foreach(j: Test4b_y_tter[0 ]) { ++count; }
foreach(j: Test4b_y_tter[0 ] ) { ++count; }
foreach(j :Test4b_y_tter[0 ]) { ++count; }
foreach(j :Test4b_y_tter[0 ] ) { ++count; }
foreach(j : Test4b_y_tter[0 ]) { ++count; }
foreach(j : Test4b_y_tter[0 ] ) { ++count; }
foreach( j:Test4b_y_tter[0 ]) { ++count; }
foreach( j:Test4b_y_tter[0 ] ) { ++count; }
foreach( j: Test4b_y_tter[0 ]) { ++count; }
foreach( j: Test4b_y_tter[0 ] ) { ++count; }
foreach( j :Test4b_y_tter[0 ]) { ++count; }
foreach( j :Test4b_y_tter[0 ] ) { ++count; }
foreach( j : Test4b_y_tter[0 ]) { ++count; }
foreach( j : Test4b_y_tter[0 ] ) { ++count; }
foreach (j:Test4b_y_tter[0 ]) { ++count; }
foreach (j:Test4b_y_tter[0 ] ) { ++count; }
foreach (j: Test4b_y_tter[0 ]) { ++count; }
foreach (j: Test4b_y_tter[0 ] ) { ++count; }
foreach (j :Test4b_y_tter[0 ]) { ++count; }
foreach (j :Test4b_y_tter[0 ] ) { ++count; }
foreach (j : Test4b_y_tter[0 ]) { ++count; }
foreach (j : Test4b_y_tter[0 ] ) { ++count; }
foreach ( j:Test4b_y_tter[0 ]) { ++count; }
foreach ( j:Test4b_y_tter[0 ] ) { ++count; }
foreach ( j: Test4b_y_tter[0 ]) { ++count; }
foreach ( j: Test4b_y_tter[0 ] ) { ++count; }
foreach ( j :Test4b_y_tter[0 ]) { ++count; }
foreach ( j :Test4b_y_tter[0 ] ) { ++count; }
foreach ( j : Test4b_y_tter[0 ]) { ++count; }
foreach ( j : Test4b_y_tter[0 ] ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax4c[3]
{
new
count = 0;
foreach(new i:Test4c_y_tter [3]) { ++count; }
foreach(new i:Test4c_y_tter [3] ) { ++count; }
foreach(new i: Test4c_y_tter [3]) { ++count; }
foreach(new i: Test4c_y_tter [3] ) { ++count; }
foreach(new i :Test4c_y_tter [3]) { ++count; }
foreach(new i :Test4c_y_tter [3] ) { ++count; }
foreach(new i : Test4c_y_tter [3]) { ++count; }
foreach(new i : Test4c_y_tter [3] ) { ++count; }
foreach( new i:Test4c_y_tter [3]) { ++count; }
foreach( new i:Test4c_y_tter [3] ) { ++count; }
foreach( new i: Test4c_y_tter [3]) { ++count; }
foreach( new i: Test4c_y_tter [3] ) { ++count; }
foreach( new i :Test4c_y_tter [3]) { ++count; }
foreach( new i :Test4c_y_tter [3] ) { ++count; }
foreach( new i : Test4c_y_tter [3]) { ++count; }
foreach( new i : Test4c_y_tter [3] ) { ++count; }
foreach (new i:Test4c_y_tter [3]) { ++count; }
foreach (new i:Test4c_y_tter [3] ) { ++count; }
foreach (new i: Test4c_y_tter [3]) { ++count; }
foreach (new i: Test4c_y_tter [3] ) { ++count; }
foreach (new i :Test4c_y_tter [3]) { ++count; }
foreach (new i :Test4c_y_tter [3] ) { ++count; }
foreach (new i : Test4c_y_tter [3]) { ++count; }
foreach (new i : Test4c_y_tter [3] ) { ++count; }
foreach ( new i:Test4c_y_tter [3]) { ++count; }
foreach ( new i:Test4c_y_tter [3] ) { ++count; }
foreach ( new i: Test4c_y_tter [3]) { ++count; }
foreach ( new i: Test4c_y_tter [3] ) { ++count; }
foreach ( new i :Test4c_y_tter [3]) { ++count; }
foreach ( new i :Test4c_y_tter [3] ) { ++count; }
foreach ( new i : Test4c_y_tter [3]) { ++count; }
foreach ( new i : Test4c_y_tter [3] ) { ++count; }
new
j;
foreach(j:Test4c_y_tter [ 3]) { ++count; }
foreach(j:Test4c_y_tter [ 3] ) { ++count; }
foreach(j: Test4c_y_tter [ 3]) { ++count; }
foreach(j: Test4c_y_tter [ 3] ) { ++count; }
foreach(j :Test4c_y_tter [ 3]) { ++count; }
foreach(j :Test4c_y_tter [ 3] ) { ++count; }
foreach(j : Test4c_y_tter [ 3]) { ++count; }
foreach(j : Test4c_y_tter [ 3] ) { ++count; }
foreach( j:Test4c_y_tter [ 3]) { ++count; }
foreach( j:Test4c_y_tter [ 3] ) { ++count; }
foreach( j: Test4c_y_tter [ 3]) { ++count; }
foreach( j: Test4c_y_tter [ 3] ) { ++count; }
foreach( j :Test4c_y_tter [ 3]) { ++count; }
foreach( j :Test4c_y_tter [ 3] ) { ++count; }
foreach( j : Test4c_y_tter [ 3]) { ++count; }
foreach( j : Test4c_y_tter [ 3] ) { ++count; }
foreach (j:Test4c_y_tter [ 3]) { ++count; }
foreach (j:Test4c_y_tter [ 3] ) { ++count; }
foreach (j: Test4c_y_tter [ 3]) { ++count; }
foreach (j: Test4c_y_tter [ 3] ) { ++count; }
foreach (j :Test4c_y_tter [ 3]) { ++count; }
foreach (j :Test4c_y_tter [ 3] ) { ++count; }
foreach (j : Test4c_y_tter [ 3]) { ++count; }
foreach (j : Test4c_y_tter [ 3] ) { ++count; }
foreach ( j:Test4c_y_tter [ 3]) { ++count; }
foreach ( j:Test4c_y_tter [ 3] ) { ++count; }
foreach ( j: Test4c_y_tter [ 3]) { ++count; }
foreach ( j: Test4c_y_tter [ 3] ) { ++count; }
foreach ( j :Test4c_y_tter [ 3]) { ++count; }
foreach ( j :Test4c_y_tter [ 3] ) { ++count; }
foreach ( j : Test4c_y_tter [ 3]) { ++count; }
foreach ( j : Test4c_y_tter [ 3] ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax4d[3]
{
new
count = 0;
foreach(new i:Test4d_y_tter [ 0 ]) { ++count; }
foreach(new i:Test4d_y_tter [ 0 ] ) { ++count; }
foreach(new i: Test4d_y_tter [ 0 ]) { ++count; }
foreach(new i: Test4d_y_tter [ 0 ] ) { ++count; }
foreach(new i :Test4d_y_tter [ 0 ]) { ++count; }
foreach(new i :Test4d_y_tter [ 0 ] ) { ++count; }
foreach(new i : Test4d_y_tter [ 0 ]) { ++count; }
foreach(new i : Test4d_y_tter [ 0 ] ) { ++count; }
foreach( new i:Test4d_y_tter [ 0 ]) { ++count; }
foreach( new i:Test4d_y_tter [ 0 ] ) { ++count; }
foreach( new i: Test4d_y_tter [ 0 ]) { ++count; }
foreach( new i: Test4d_y_tter [ 0 ] ) { ++count; }
foreach( new i :Test4d_y_tter [ 0 ]) { ++count; }
foreach( new i :Test4d_y_tter [ 0 ] ) { ++count; }
foreach( new i : Test4d_y_tter [ 0 ]) { ++count; }
foreach( new i : Test4d_y_tter [ 0 ] ) { ++count; }
foreach (new i:Test4d_y_tter [ 0 ]) { ++count; }
foreach (new i:Test4d_y_tter [ 0 ] ) { ++count; }
foreach (new i: Test4d_y_tter [ 0 ]) { ++count; }
foreach (new i: Test4d_y_tter [ 0 ] ) { ++count; }
foreach (new i :Test4d_y_tter [ 0 ]) { ++count; }
foreach (new i :Test4d_y_tter [ 0 ] ) { ++count; }
foreach (new i : Test4d_y_tter [ 0 ]) { ++count; }
foreach (new i : Test4d_y_tter [ 0 ] ) { ++count; }
foreach ( new i:Test4d_y_tter [ 0 ]) { ++count; }
foreach ( new i:Test4d_y_tter [ 0 ] ) { ++count; }
foreach ( new i: Test4d_y_tter [ 0 ]) { ++count; }
foreach ( new i: Test4d_y_tter [ 0 ] ) { ++count; }
foreach ( new i :Test4d_y_tter [ 0 ]) { ++count; }
foreach ( new i :Test4d_y_tter [ 0 ] ) { ++count; }
foreach ( new i : Test4d_y_tter [ 0 ]) { ++count; }
foreach ( new i : Test4d_y_tter [ 0 ] ) { ++count; }
new
j;
foreach(j:Test4d_y_tter [0 ]) { ++count; }
foreach(j:Test4d_y_tter [0 ] ) { ++count; }
foreach(j: Test4d_y_tter [0 ]) { ++count; }
foreach(j: Test4d_y_tter [0 ] ) { ++count; }
foreach(j :Test4d_y_tter [0 ]) { ++count; }
foreach(j :Test4d_y_tter [0 ] ) { ++count; }
foreach(j : Test4d_y_tter [0 ]) { ++count; }
foreach(j : Test4d_y_tter [0 ] ) { ++count; }
foreach( j:Test4d_y_tter [0 ]) { ++count; }
foreach( j:Test4d_y_tter [0 ] ) { ++count; }
foreach( j: Test4d_y_tter [0 ]) { ++count; }
foreach( j: Test4d_y_tter [0 ] ) { ++count; }
foreach( j :Test4d_y_tter [0 ]) { ++count; }
foreach( j :Test4d_y_tter [0 ] ) { ++count; }
foreach( j : Test4d_y_tter [0 ]) { ++count; }
foreach( j : Test4d_y_tter [0 ] ) { ++count; }
foreach (j:Test4d_y_tter [0 ]) { ++count; }
foreach (j:Test4d_y_tter [0 ] ) { ++count; }
foreach (j: Test4d_y_tter [0 ]) { ++count; }
foreach (j: Test4d_y_tter [0 ] ) { ++count; }
foreach (j :Test4d_y_tter [0 ]) { ++count; }
foreach (j :Test4d_y_tter [0 ] ) { ++count; }
foreach (j : Test4d_y_tter [0 ]) { ++count; }
foreach (j : Test4d_y_tter [0 ] ) { ++count; }
foreach ( j:Test4d_y_tter [0 ]) { ++count; }
foreach ( j:Test4d_y_tter [0 ] ) { ++count; }
foreach ( j: Test4d_y_tter [0 ]) { ++count; }
foreach ( j: Test4d_y_tter [0 ] ) { ++count; }
foreach ( j :Test4d_y_tter [0 ]) { ++count; }
foreach ( j :Test4d_y_tter [0 ] ) { ++count; }
foreach ( j : Test4d_y_tter [0 ]) { ++count; }
foreach ( j : Test4d_y_tter [0 ] ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax3a()
{
new
count = 0;
foreach(new i:Test3a_y_tter<4>) { ++count; }
foreach(new i:Test3a_y_tter<4> ) { ++count; }
foreach(new i: Test3a_y_tter<4>) { ++count; }
foreach(new i: Test3a_y_tter<4> ) { ++count; }
foreach(new i :Test3a_y_tter<4>) { ++count; }
foreach(new i :Test3a_y_tter<4> ) { ++count; }
foreach(new i : Test3a_y_tter<4>) { ++count; }
foreach(new i : Test3a_y_tter<4> ) { ++count; }
foreach( new i:Test3a_y_tter<4>) { ++count; }
foreach( new i:Test3a_y_tter<4> ) { ++count; }
foreach( new i: Test3a_y_tter<4>) { ++count; }
foreach( new i: Test3a_y_tter<4> ) { ++count; }
foreach( new i :Test3a_y_tter<4>) { ++count; }
foreach( new i :Test3a_y_tter<4> ) { ++count; }
foreach( new i : Test3a_y_tter<4>) { ++count; }
foreach( new i : Test3a_y_tter<4> ) { ++count; }
foreach (new i:Test3a_y_tter<4>) { ++count; }
foreach (new i:Test3a_y_tter<4> ) { ++count; }
foreach (new i: Test3a_y_tter<4>) { ++count; }
foreach (new i: Test3a_y_tter<4> ) { ++count; }
foreach (new i :Test3a_y_tter<4>) { ++count; }
foreach (new i :Test3a_y_tter<4> ) { ++count; }
foreach (new i : Test3a_y_tter<4>) { ++count; }
foreach (new i : Test3a_y_tter<4> ) { ++count; }
foreach ( new i:Test3a_y_tter<4>) { ++count; }
foreach ( new i:Test3a_y_tter<4> ) { ++count; }
foreach ( new i: Test3a_y_tter<4>) { ++count; }
foreach ( new i: Test3a_y_tter<4> ) { ++count; }
foreach ( new i :Test3a_y_tter<4>) { ++count; }
foreach ( new i :Test3a_y_tter<4> ) { ++count; }
foreach ( new i : Test3a_y_tter<4>) { ++count; }
foreach ( new i : Test3a_y_tter<4> ) { ++count; }
new
j;
foreach(j:Test3a_y_tter< 4>) { ++count; }
foreach(j:Test3a_y_tter< 4> ) { ++count; }
foreach(j: Test3a_y_tter< 4>) { ++count; }
foreach(j: Test3a_y_tter< 4> ) { ++count; }
foreach(j :Test3a_y_tter< 4>) { ++count; }
foreach(j :Test3a_y_tter< 4> ) { ++count; }
foreach(j : Test3a_y_tter< 4>) { ++count; }
foreach(j : Test3a_y_tter< 4> ) { ++count; }
foreach( j:Test3a_y_tter< 4>) { ++count; }
foreach( j:Test3a_y_tter< 4> ) { ++count; }
foreach( j: Test3a_y_tter< 4>) { ++count; }
foreach( j: Test3a_y_tter< 4> ) { ++count; }
foreach( j :Test3a_y_tter< 4>) { ++count; }
foreach( j :Test3a_y_tter< 4> ) { ++count; }
foreach( j : Test3a_y_tter< 4>) { ++count; }
foreach( j : Test3a_y_tter< 4> ) { ++count; }
foreach (j:Test3a_y_tter< 4>) { ++count; }
foreach (j:Test3a_y_tter< 4> ) { ++count; }
foreach (j: Test3a_y_tter< 4>) { ++count; }
foreach (j: Test3a_y_tter< 4> ) { ++count; }
foreach (j :Test3a_y_tter< 4>) { ++count; }
foreach (j :Test3a_y_tter< 4> ) { ++count; }
foreach (j : Test3a_y_tter< 4>) { ++count; }
foreach (j : Test3a_y_tter< 4> ) { ++count; }
foreach ( j:Test3a_y_tter< 4>) { ++count; }
foreach ( j:Test3a_y_tter< 4> ) { ++count; }
foreach ( j: Test3a_y_tter< 4>) { ++count; }
foreach ( j: Test3a_y_tter< 4> ) { ++count; }
foreach ( j :Test3a_y_tter< 4>) { ++count; }
foreach ( j :Test3a_y_tter< 4> ) { ++count; }
foreach ( j : Test3a_y_tter< 4>) { ++count; }
foreach ( j : Test3a_y_tter< 4> ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax3b<4>
{
new
count = 0;
foreach(new i:Test3b_y_tter< 6 >) { ++count; }
foreach(new i:Test3b_y_tter< 6 > ) { ++count; }
foreach(new i: Test3b_y_tter< 6 >) { ++count; }
foreach(new i: Test3b_y_tter< 6 > ) { ++count; }
foreach(new i :Test3b_y_tter< 6 >) { ++count; }
foreach(new i :Test3b_y_tter< 6 > ) { ++count; }
foreach(new i : Test3b_y_tter< 6 >) { ++count; }
foreach(new i : Test3b_y_tter< 6 > ) { ++count; }
foreach( new i:Test3b_y_tter< 6 >) { ++count; }
foreach( new i:Test3b_y_tter< 6 > ) { ++count; }
foreach( new i: Test3b_y_tter< 6 >) { ++count; }
foreach( new i: Test3b_y_tter< 6 > ) { ++count; }
foreach( new i :Test3b_y_tter< 6 >) { ++count; }
foreach( new i :Test3b_y_tter< 6 > ) { ++count; }
foreach( new i : Test3b_y_tter< 6 >) { ++count; }
foreach( new i : Test3b_y_tter< 6 > ) { ++count; }
foreach (new i:Test3b_y_tter< 6 >) { ++count; }
foreach (new i:Test3b_y_tter< 6 > ) { ++count; }
foreach (new i: Test3b_y_tter< 6 >) { ++count; }
foreach (new i: Test3b_y_tter< 6 > ) { ++count; }
foreach (new i :Test3b_y_tter< 6 >) { ++count; }
foreach (new i :Test3b_y_tter< 6 > ) { ++count; }
foreach (new i : Test3b_y_tter< 6 >) { ++count; }
foreach (new i : Test3b_y_tter< 6 > ) { ++count; }
foreach ( new i:Test3b_y_tter< 6 >) { ++count; }
foreach ( new i:Test3b_y_tter< 6 > ) { ++count; }
foreach ( new i: Test3b_y_tter< 6 >) { ++count; }
foreach ( new i: Test3b_y_tter< 6 > ) { ++count; }
foreach ( new i :Test3b_y_tter< 6 >) { ++count; }
foreach ( new i :Test3b_y_tter< 6 > ) { ++count; }
foreach ( new i : Test3b_y_tter< 6 >) { ++count; }
foreach ( new i : Test3b_y_tter< 6 > ) { ++count; }
new
j;
foreach(j:Test3b_y_tter<6 >) { ++count; }
foreach(j:Test3b_y_tter<6 > ) { ++count; }
foreach(j: Test3b_y_tter<6 >) { ++count; }
foreach(j: Test3b_y_tter<6 > ) { ++count; }
foreach(j :Test3b_y_tter<6 >) { ++count; }
foreach(j :Test3b_y_tter<6 > ) { ++count; }
foreach(j : Test3b_y_tter<6 >) { ++count; }
foreach(j : Test3b_y_tter<6 > ) { ++count; }
foreach( j:Test3b_y_tter<6 >) { ++count; }
foreach( j:Test3b_y_tter<6 > ) { ++count; }
foreach( j: Test3b_y_tter<6 >) { ++count; }
foreach( j: Test3b_y_tter<6 > ) { ++count; }
foreach( j :Test3b_y_tter<6 >) { ++count; }
foreach( j :Test3b_y_tter<6 > ) { ++count; }
foreach( j : Test3b_y_tter<6 >) { ++count; }
foreach( j : Test3b_y_tter<6 > ) { ++count; }
foreach (j:Test3b_y_tter<6 >) { ++count; }
foreach (j:Test3b_y_tter<6 > ) { ++count; }
foreach (j: Test3b_y_tter<6 >) { ++count; }
foreach (j: Test3b_y_tter<6 > ) { ++count; }
foreach (j :Test3b_y_tter<6 >) { ++count; }
foreach (j :Test3b_y_tter<6 > ) { ++count; }
foreach (j : Test3b_y_tter<6 >) { ++count; }
foreach (j : Test3b_y_tter<6 > ) { ++count; }
foreach ( j:Test3b_y_tter<6 >) { ++count; }
foreach ( j:Test3b_y_tter<6 > ) { ++count; }
foreach ( j: Test3b_y_tter<6 >) { ++count; }
foreach ( j: Test3b_y_tter<6 > ) { ++count; }
foreach ( j :Test3b_y_tter<6 >) { ++count; }
foreach ( j :Test3b_y_tter<6 > ) { ++count; }
foreach ( j : Test3b_y_tter<6 >) { ++count; }
foreach ( j : Test3b_y_tter<6 > ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax3c<4>
{
new
count = 0;
foreach(new i:Test3c_y_tter <4>) { ++count; }
foreach(new i:Test3c_y_tter <4> ) { ++count; }
foreach(new i: Test3c_y_tter <4>) { ++count; }
foreach(new i: Test3c_y_tter <4> ) { ++count; }
foreach(new i :Test3c_y_tter <4>) { ++count; }
foreach(new i :Test3c_y_tter <4> ) { ++count; }
foreach(new i : Test3c_y_tter <4>) { ++count; }
foreach(new i : Test3c_y_tter <4> ) { ++count; }
foreach( new i:Test3c_y_tter <4>) { ++count; }
foreach( new i:Test3c_y_tter <4> ) { ++count; }
foreach( new i: Test3c_y_tter <4>) { ++count; }
foreach( new i: Test3c_y_tter <4> ) { ++count; }
foreach( new i :Test3c_y_tter <4>) { ++count; }
foreach( new i :Test3c_y_tter <4> ) { ++count; }
foreach( new i : Test3c_y_tter <4>) { ++count; }
foreach( new i : Test3c_y_tter <4> ) { ++count; }
foreach (new i:Test3c_y_tter <4>) { ++count; }
foreach (new i:Test3c_y_tter <4> ) { ++count; }
foreach (new i: Test3c_y_tter <4>) { ++count; }
foreach (new i: Test3c_y_tter <4> ) { ++count; }
foreach (new i :Test3c_y_tter <4>) { ++count; }
foreach (new i :Test3c_y_tter <4> ) { ++count; }
foreach (new i : Test3c_y_tter <4>) { ++count; }
foreach (new i : Test3c_y_tter <4> ) { ++count; }
foreach ( new i:Test3c_y_tter <4>) { ++count; }
foreach ( new i:Test3c_y_tter <4> ) { ++count; }
foreach ( new i: Test3c_y_tter <4>) { ++count; }
foreach ( new i: Test3c_y_tter <4> ) { ++count; }
foreach ( new i :Test3c_y_tter <4>) { ++count; }
foreach ( new i :Test3c_y_tter <4> ) { ++count; }
foreach ( new i : Test3c_y_tter <4>) { ++count; }
foreach ( new i : Test3c_y_tter <4> ) { ++count; }
new
j;
foreach(j:Test3c_y_tter < 4>) { ++count; }
foreach(j:Test3c_y_tter < 4> ) { ++count; }
foreach(j: Test3c_y_tter < 4>) { ++count; }
foreach(j: Test3c_y_tter < 4> ) { ++count; }
foreach(j :Test3c_y_tter < 4>) { ++count; }
foreach(j :Test3c_y_tter < 4> ) { ++count; }
foreach(j : Test3c_y_tter < 4>) { ++count; }
foreach(j : Test3c_y_tter < 4> ) { ++count; }
foreach( j:Test3c_y_tter < 4>) { ++count; }
foreach( j:Test3c_y_tter < 4> ) { ++count; }
foreach( j: Test3c_y_tter < 4>) { ++count; }
foreach( j: Test3c_y_tter < 4> ) { ++count; }
foreach( j :Test3c_y_tter < 4>) { ++count; }
foreach( j :Test3c_y_tter < 4> ) { ++count; }
foreach( j : Test3c_y_tter < 4>) { ++count; }
foreach( j : Test3c_y_tter < 4> ) { ++count; }
foreach (j:Test3c_y_tter < 4>) { ++count; }
foreach (j:Test3c_y_tter < 4> ) { ++count; }
foreach (j: Test3c_y_tter < 4>) { ++count; }
foreach (j: Test3c_y_tter < 4> ) { ++count; }
foreach (j :Test3c_y_tter < 4>) { ++count; }
foreach (j :Test3c_y_tter < 4> ) { ++count; }
foreach (j : Test3c_y_tter < 4>) { ++count; }
foreach (j : Test3c_y_tter < 4> ) { ++count; }
foreach ( j:Test3c_y_tter < 4>) { ++count; }
foreach ( j:Test3c_y_tter < 4> ) { ++count; }
foreach ( j: Test3c_y_tter < 4>) { ++count; }
foreach ( j: Test3c_y_tter < 4> ) { ++count; }
foreach ( j :Test3c_y_tter < 4>) { ++count; }
foreach ( j :Test3c_y_tter < 4> ) { ++count; }
foreach ( j : Test3c_y_tter < 4>) { ++count; }
foreach ( j : Test3c_y_tter < 4> ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax3d<4>
{
new
count = 0;
foreach(new i:Test3d_y_tter < 6 >) { ++count; }
foreach(new i:Test3d_y_tter < 6 > ) { ++count; }
foreach(new i: Test3d_y_tter < 6 >) { ++count; }
foreach(new i: Test3d_y_tter < 6 > ) { ++count; }
foreach(new i :Test3d_y_tter < 6 >) { ++count; }
foreach(new i :Test3d_y_tter < 6 > ) { ++count; }
foreach(new i : Test3d_y_tter < 6 >) { ++count; }
foreach(new i : Test3d_y_tter < 6 > ) { ++count; }
foreach( new i:Test3d_y_tter < 6 >) { ++count; }
foreach( new i:Test3d_y_tter < 6 > ) { ++count; }
foreach( new i: Test3d_y_tter < 6 >) { ++count; }
foreach( new i: Test3d_y_tter < 6 > ) { ++count; }
foreach( new i :Test3d_y_tter < 6 >) { ++count; }
foreach( new i :Test3d_y_tter < 6 > ) { ++count; }
foreach( new i : Test3d_y_tter < 6 >) { ++count; }
foreach( new i : Test3d_y_tter < 6 > ) { ++count; }
foreach (new i:Test3d_y_tter < 6 >) { ++count; }
foreach (new i:Test3d_y_tter < 6 > ) { ++count; }
foreach (new i: Test3d_y_tter < 6 >) { ++count; }
foreach (new i: Test3d_y_tter < 6 > ) { ++count; }
foreach (new i :Test3d_y_tter < 6 >) { ++count; }
foreach (new i :Test3d_y_tter < 6 > ) { ++count; }
foreach (new i : Test3d_y_tter < 6 >) { ++count; }
foreach (new i : Test3d_y_tter < 6 > ) { ++count; }
foreach ( new i:Test3d_y_tter < 6 >) { ++count; }
foreach ( new i:Test3d_y_tter < 6 > ) { ++count; }
foreach ( new i: Test3d_y_tter < 6 >) { ++count; }
foreach ( new i: Test3d_y_tter < 6 > ) { ++count; }
foreach ( new i :Test3d_y_tter < 6 >) { ++count; }
foreach ( new i :Test3d_y_tter < 6 > ) { ++count; }
foreach ( new i : Test3d_y_tter < 6 >) { ++count; }
foreach ( new i : Test3d_y_tter < 6 > ) { ++count; }
new
j;
foreach(j:Test3d_y_tter <6 >) { ++count; }
foreach(j:Test3d_y_tter <6 > ) { ++count; }
foreach(j: Test3d_y_tter <6 >) { ++count; }
foreach(j: Test3d_y_tter <6 > ) { ++count; }
foreach(j :Test3d_y_tter <6 >) { ++count; }
foreach(j :Test3d_y_tter <6 > ) { ++count; }
foreach(j : Test3d_y_tter <6 >) { ++count; }
foreach(j : Test3d_y_tter <6 > ) { ++count; }
foreach( j:Test3d_y_tter <6 >) { ++count; }
foreach( j:Test3d_y_tter <6 > ) { ++count; }
foreach( j: Test3d_y_tter <6 >) { ++count; }
foreach( j: Test3d_y_tter <6 > ) { ++count; }
foreach( j :Test3d_y_tter <6 >) { ++count; }
foreach( j :Test3d_y_tter <6 > ) { ++count; }
foreach( j : Test3d_y_tter <6 >) { ++count; }
foreach( j : Test3d_y_tter <6 > ) { ++count; }
foreach (j:Test3d_y_tter <6 >) { ++count; }
foreach (j:Test3d_y_tter <6 > ) { ++count; }
foreach (j: Test3d_y_tter <6 >) { ++count; }
foreach (j: Test3d_y_tter <6 > ) { ++count; }
foreach (j :Test3d_y_tter <6 >) { ++count; }
foreach (j :Test3d_y_tter <6 > ) { ++count; }
foreach (j : Test3d_y_tter <6 >) { ++count; }
foreach (j : Test3d_y_tter <6 > ) { ++count; }
foreach ( j:Test3d_y_tter <6 >) { ++count; }
foreach ( j:Test3d_y_tter <6 > ) { ++count; }
foreach ( j: Test3d_y_tter <6 >) { ++count; }
foreach ( j: Test3d_y_tter <6 > ) { ++count; }
foreach ( j :Test3d_y_tter <6 >) { ++count; }
foreach ( j :Test3d_y_tter <6 > ) { ++count; }
foreach ( j : Test3d_y_tter <6 >) { ++count; }
foreach ( j : Test3d_y_tter <6 > ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax2a()
{
new
count = 0;
foreach(new i:Test2a_y_tter()) { ++count; }
foreach(new i:Test2a_y_tter() ) { ++count; }
foreach(new i: Test2a_y_tter()) { ++count; }
foreach(new i: Test2a_y_tter() ) { ++count; }
foreach(new i :Test2a_y_tter()) { ++count; }
foreach(new i :Test2a_y_tter() ) { ++count; }
foreach(new i : Test2a_y_tter()) { ++count; }
foreach(new i : Test2a_y_tter() ) { ++count; }
foreach( new i:Test2a_y_tter()) { ++count; }
foreach( new i:Test2a_y_tter() ) { ++count; }
foreach( new i: Test2a_y_tter()) { ++count; }
foreach( new i: Test2a_y_tter() ) { ++count; }
foreach( new i :Test2a_y_tter()) { ++count; }
foreach( new i :Test2a_y_tter() ) { ++count; }
foreach( new i : Test2a_y_tter()) { ++count; }
foreach( new i : Test2a_y_tter() ) { ++count; }
foreach (new i:Test2a_y_tter()) { ++count; }
foreach (new i:Test2a_y_tter() ) { ++count; }
foreach (new i: Test2a_y_tter()) { ++count; }
foreach (new i: Test2a_y_tter() ) { ++count; }
foreach (new i :Test2a_y_tter()) { ++count; }
foreach (new i :Test2a_y_tter() ) { ++count; }
foreach (new i : Test2a_y_tter()) { ++count; }
foreach (new i : Test2a_y_tter() ) { ++count; }
foreach ( new i:Test2a_y_tter()) { ++count; }
foreach ( new i:Test2a_y_tter() ) { ++count; }
foreach ( new i: Test2a_y_tter()) { ++count; }
foreach ( new i: Test2a_y_tter() ) { ++count; }
foreach ( new i :Test2a_y_tter()) { ++count; }
foreach ( new i :Test2a_y_tter() ) { ++count; }
foreach ( new i : Test2a_y_tter()) { ++count; }
foreach ( new i : Test2a_y_tter() ) { ++count; }
new
j;
foreach(j:Test2a_y_tter()) { ++count; }
foreach(j:Test2a_y_tter() ) { ++count; }
foreach(j: Test2a_y_tter()) { ++count; }
foreach(j: Test2a_y_tter() ) { ++count; }
foreach(j :Test2a_y_tter()) { ++count; }
foreach(j :Test2a_y_tter() ) { ++count; }
foreach(j : Test2a_y_tter()) { ++count; }
foreach(j : Test2a_y_tter() ) { ++count; }
foreach( j:Test2a_y_tter()) { ++count; }
foreach( j:Test2a_y_tter() ) { ++count; }
foreach( j: Test2a_y_tter()) { ++count; }
foreach( j: Test2a_y_tter() ) { ++count; }
foreach( j :Test2a_y_tter()) { ++count; }
foreach( j :Test2a_y_tter() ) { ++count; }
foreach( j : Test2a_y_tter()) { ++count; }
foreach( j : Test2a_y_tter() ) { ++count; }
foreach (j:Test2a_y_tter()) { ++count; }
foreach (j:Test2a_y_tter() ) { ++count; }
foreach (j: Test2a_y_tter()) { ++count; }
foreach (j: Test2a_y_tter() ) { ++count; }
foreach (j :Test2a_y_tter()) { ++count; }
foreach (j :Test2a_y_tter() ) { ++count; }
foreach (j : Test2a_y_tter()) { ++count; }
foreach (j : Test2a_y_tter() ) { ++count; }
foreach ( j:Test2a_y_tter()) { ++count; }
foreach ( j:Test2a_y_tter() ) { ++count; }
foreach ( j: Test2a_y_tter()) { ++count; }
foreach ( j: Test2a_y_tter() ) { ++count; }
foreach ( j :Test2a_y_tter()) { ++count; }
foreach ( j :Test2a_y_tter() ) { ++count; }
foreach ( j : Test2a_y_tter()) { ++count; }
foreach ( j : Test2a_y_tter() ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax2b()
{
new
count = 0;
foreach(new i:Test2b_y_tter( )) { ++count; }
foreach(new i:Test2b_y_tter( ) ) { ++count; }
foreach(new i: Test2b_y_tter( )) { ++count; }
foreach(new i: Test2b_y_tter( ) ) { ++count; }
foreach(new i :Test2b_y_tter( )) { ++count; }
foreach(new i :Test2b_y_tter( ) ) { ++count; }
foreach(new i : Test2b_y_tter( )) { ++count; }
foreach(new i : Test2b_y_tter( ) ) { ++count; }
foreach( new i:Test2b_y_tter( )) { ++count; }
foreach( new i:Test2b_y_tter( ) ) { ++count; }
foreach( new i: Test2b_y_tter( )) { ++count; }
foreach( new i: Test2b_y_tter( ) ) { ++count; }
foreach( new i :Test2b_y_tter( )) { ++count; }
foreach( new i :Test2b_y_tter( ) ) { ++count; }
foreach( new i : Test2b_y_tter( )) { ++count; }
foreach( new i : Test2b_y_tter( ) ) { ++count; }
foreach (new i:Test2b_y_tter( )) { ++count; }
foreach (new i:Test2b_y_tter( ) ) { ++count; }
foreach (new i: Test2b_y_tter( )) { ++count; }
foreach (new i: Test2b_y_tter( ) ) { ++count; }
foreach (new i :Test2b_y_tter( )) { ++count; }
foreach (new i :Test2b_y_tter( ) ) { ++count; }
foreach (new i : Test2b_y_tter( )) { ++count; }
foreach (new i : Test2b_y_tter( ) ) { ++count; }
foreach ( new i:Test2b_y_tter( )) { ++count; }
foreach ( new i:Test2b_y_tter( ) ) { ++count; }
foreach ( new i: Test2b_y_tter( )) { ++count; }
foreach ( new i: Test2b_y_tter( ) ) { ++count; }
foreach ( new i :Test2b_y_tter( )) { ++count; }
foreach ( new i :Test2b_y_tter( ) ) { ++count; }
foreach ( new i : Test2b_y_tter( )) { ++count; }
foreach ( new i : Test2b_y_tter( ) ) { ++count; }
new
j;
foreach(j:Test2b_y_tter( )) { ++count; }
foreach(j:Test2b_y_tter( ) ) { ++count; }
foreach(j: Test2b_y_tter( )) { ++count; }
foreach(j: Test2b_y_tter( ) ) { ++count; }
foreach(j :Test2b_y_tter( )) { ++count; }
foreach(j :Test2b_y_tter( ) ) { ++count; }
foreach(j : Test2b_y_tter( )) { ++count; }
foreach(j : Test2b_y_tter( ) ) { ++count; }
foreach( j:Test2b_y_tter( )) { ++count; }
foreach( j:Test2b_y_tter( ) ) { ++count; }
foreach( j: Test2b_y_tter( )) { ++count; }
foreach( j: Test2b_y_tter( ) ) { ++count; }
foreach( j :Test2b_y_tter( )) { ++count; }
foreach( j :Test2b_y_tter( ) ) { ++count; }
foreach( j : Test2b_y_tter( )) { ++count; }
foreach( j : Test2b_y_tter( ) ) { ++count; }
foreach (j:Test2b_y_tter( )) { ++count; }
foreach (j:Test2b_y_tter( ) ) { ++count; }
foreach (j: Test2b_y_tter( )) { ++count; }
foreach (j: Test2b_y_tter( ) ) { ++count; }
foreach (j :Test2b_y_tter( )) { ++count; }
foreach (j :Test2b_y_tter( ) ) { ++count; }
foreach (j : Test2b_y_tter( )) { ++count; }
foreach (j : Test2b_y_tter( ) ) { ++count; }
foreach ( j:Test2b_y_tter( )) { ++count; }
foreach ( j:Test2b_y_tter( ) ) { ++count; }
foreach ( j: Test2b_y_tter( )) { ++count; }
foreach ( j: Test2b_y_tter( ) ) { ++count; }
foreach ( j :Test2b_y_tter( )) { ++count; }
foreach ( j :Test2b_y_tter( ) ) { ++count; }
foreach ( j : Test2b_y_tter( )) { ++count; }
foreach ( j : Test2b_y_tter( ) ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax2c()
{
new
count = 0;
foreach(new i:Test2c_y_tter ()) { ++count; }
foreach(new i:Test2c_y_tter () ) { ++count; }
foreach(new i: Test2c_y_tter ()) { ++count; }
foreach(new i: Test2c_y_tter () ) { ++count; }
foreach(new i :Test2c_y_tter ()) { ++count; }
foreach(new i :Test2c_y_tter () ) { ++count; }
foreach(new i : Test2c_y_tter ()) { ++count; }
foreach(new i : Test2c_y_tter () ) { ++count; }
foreach( new i:Test2c_y_tter ()) { ++count; }
foreach( new i:Test2c_y_tter () ) { ++count; }
foreach( new i: Test2c_y_tter ()) { ++count; }
foreach( new i: Test2c_y_tter () ) { ++count; }
foreach( new i :Test2c_y_tter ()) { ++count; }
foreach( new i :Test2c_y_tter () ) { ++count; }
foreach( new i : Test2c_y_tter ()) { ++count; }
foreach( new i : Test2c_y_tter () ) { ++count; }
foreach (new i:Test2c_y_tter ()) { ++count; }
foreach (new i:Test2c_y_tter () ) { ++count; }
foreach (new i: Test2c_y_tter ()) { ++count; }
foreach (new i: Test2c_y_tter () ) { ++count; }
foreach (new i :Test2c_y_tter ()) { ++count; }
foreach (new i :Test2c_y_tter () ) { ++count; }
foreach (new i : Test2c_y_tter ()) { ++count; }
foreach (new i : Test2c_y_tter () ) { ++count; }
foreach ( new i:Test2c_y_tter ()) { ++count; }
foreach ( new i:Test2c_y_tter () ) { ++count; }
foreach ( new i: Test2c_y_tter ()) { ++count; }
foreach ( new i: Test2c_y_tter () ) { ++count; }
foreach ( new i :Test2c_y_tter ()) { ++count; }
foreach ( new i :Test2c_y_tter () ) { ++count; }
foreach ( new i : Test2c_y_tter ()) { ++count; }
foreach ( new i : Test2c_y_tter () ) { ++count; }
new
j;
foreach(j:Test2c_y_tter ()) { ++count; }
foreach(j:Test2c_y_tter () ) { ++count; }
foreach(j: Test2c_y_tter ()) { ++count; }
foreach(j: Test2c_y_tter () ) { ++count; }
foreach(j :Test2c_y_tter ()) { ++count; }
foreach(j :Test2c_y_tter () ) { ++count; }
foreach(j : Test2c_y_tter ()) { ++count; }
foreach(j : Test2c_y_tter () ) { ++count; }
foreach( j:Test2c_y_tter ()) { ++count; }
foreach( j:Test2c_y_tter () ) { ++count; }
foreach( j: Test2c_y_tter ()) { ++count; }
foreach( j: Test2c_y_tter () ) { ++count; }
foreach( j :Test2c_y_tter ()) { ++count; }
foreach( j :Test2c_y_tter () ) { ++count; }
foreach( j : Test2c_y_tter ()) { ++count; }
foreach( j : Test2c_y_tter () ) { ++count; }
foreach (j:Test2c_y_tter ()) { ++count; }
foreach (j:Test2c_y_tter () ) { ++count; }
foreach (j: Test2c_y_tter ()) { ++count; }
foreach (j: Test2c_y_tter () ) { ++count; }
foreach (j :Test2c_y_tter ()) { ++count; }
foreach (j :Test2c_y_tter () ) { ++count; }
foreach (j : Test2c_y_tter ()) { ++count; }
foreach (j : Test2c_y_tter () ) { ++count; }
foreach ( j:Test2c_y_tter ()) { ++count; }
foreach ( j:Test2c_y_tter () ) { ++count; }
foreach ( j: Test2c_y_tter ()) { ++count; }
foreach ( j: Test2c_y_tter () ) { ++count; }
foreach ( j :Test2c_y_tter ()) { ++count; }
foreach ( j :Test2c_y_tter () ) { ++count; }
foreach ( j : Test2c_y_tter ()) { ++count; }
foreach ( j : Test2c_y_tter () ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Test:y_iter_Syntax2d()
{
new
count = 0;
foreach(new i:Test2d_y_tter ( )) { ++count; }
foreach(new i:Test2d_y_tter ( ) ) { ++count; }
foreach(new i: Test2d_y_tter ( )) { ++count; }
foreach(new i: Test2d_y_tter ( ) ) { ++count; }
foreach(new i :Test2d_y_tter ( )) { ++count; }
foreach(new i :Test2d_y_tter ( ) ) { ++count; }
foreach(new i : Test2d_y_tter ( )) { ++count; }
foreach(new i : Test2d_y_tter ( ) ) { ++count; }
foreach( new i:Test2d_y_tter ( )) { ++count; }
foreach( new i:Test2d_y_tter ( ) ) { ++count; }
foreach( new i: Test2d_y_tter ( )) { ++count; }
foreach( new i: Test2d_y_tter ( ) ) { ++count; }
foreach( new i :Test2d_y_tter ( )) { ++count; }
foreach( new i :Test2d_y_tter ( ) ) { ++count; }
foreach( new i : Test2d_y_tter ( )) { ++count; }
foreach( new i : Test2d_y_tter ( ) ) { ++count; }
foreach (new i:Test2d_y_tter ( )) { ++count; }
foreach (new i:Test2d_y_tter ( ) ) { ++count; }
foreach (new i: Test2d_y_tter ( )) { ++count; }
foreach (new i: Test2d_y_tter ( ) ) { ++count; }
foreach (new i :Test2d_y_tter ( )) { ++count; }
foreach (new i :Test2d_y_tter ( ) ) { ++count; }
foreach (new i : Test2d_y_tter ( )) { ++count; }
foreach (new i : Test2d_y_tter ( ) ) { ++count; }
foreach ( new i:Test2d_y_tter ( )) { ++count; }
foreach ( new i:Test2d_y_tter ( ) ) { ++count; }
foreach ( new i: Test2d_y_tter ( )) { ++count; }
foreach ( new i: Test2d_y_tter ( ) ) { ++count; }
foreach ( new i :Test2d_y_tter ( )) { ++count; }
foreach ( new i :Test2d_y_tter ( ) ) { ++count; }
foreach ( new i : Test2d_y_tter ( )) { ++count; }
foreach ( new i : Test2d_y_tter ( ) ) { ++count; }
new
j;
foreach(j:Test2d_y_tter ( )) { ++count; }
foreach(j:Test2d_y_tter ( ) ) { ++count; }
foreach(j: Test2d_y_tter ( )) { ++count; }
foreach(j: Test2d_y_tter ( ) ) { ++count; }
foreach(j :Test2d_y_tter ( )) { ++count; }
foreach(j :Test2d_y_tter ( ) ) { ++count; }
foreach(j : Test2d_y_tter ( )) { ++count; }
foreach(j : Test2d_y_tter ( ) ) { ++count; }
foreach( j:Test2d_y_tter ( )) { ++count; }
foreach( j:Test2d_y_tter ( ) ) { ++count; }
foreach( j: Test2d_y_tter ( )) { ++count; }
foreach( j: Test2d_y_tter ( ) ) { ++count; }
foreach( j :Test2d_y_tter ( )) { ++count; }
foreach( j :Test2d_y_tter ( ) ) { ++count; }
foreach( j : Test2d_y_tter ( )) { ++count; }
foreach( j : Test2d_y_tter ( ) ) { ++count; }
foreach (j:Test2d_y_tter ( )) { ++count; }
foreach (j:Test2d_y_tter ( ) ) { ++count; }
foreach (j: Test2d_y_tter ( )) { ++count; }
foreach (j: Test2d_y_tter ( ) ) { ++count; }
foreach (j :Test2d_y_tter ( )) { ++count; }
foreach (j :Test2d_y_tter ( ) ) { ++count; }
foreach (j : Test2d_y_tter ( )) { ++count; }
foreach (j : Test2d_y_tter ( ) ) { ++count; }
foreach ( j:Test2d_y_tter ( )) { ++count; }
foreach ( j:Test2d_y_tter ( ) ) { ++count; }
foreach ( j: Test2d_y_tter ( )) { ++count; }
foreach ( j: Test2d_y_tter ( ) ) { ++count; }
foreach ( j :Test2d_y_tter ( )) { ++count; }
foreach ( j :Test2d_y_tter ( ) ) { ++count; }
foreach ( j : Test2d_y_tter ( )) { ++count; }
foreach ( j : Test2d_y_tter ( ) ) { ++count; }
ASSERT(count == 11 * 2 * 32);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment