예제 #1
0
 [Test] //uint128 slot0off40;
 public void CheckUint2()
 {
     TestUtility.CheckVariable("slot0off40", "54", 2 + startInd, variableList);
 }
예제 #2
0
 [Test] //slot0off8=21;  //8  slot 0
 public void CheckUint1()
 {
     TestUtility.CheckVariable("slot0off8", "21", 1 + startInd, variableList);
 }
예제 #3
0
 [Test] //uint8 slot0off0;  //8  slot 0
 public void CheckUint0()
 {
     TestUtility.CheckVariable("slot0off0", "19", 0 + startInd, variableList);
 }
예제 #4
0
 //SimpleStruct[] arrayStruct; 5
 public void CheckArrayStruct()
 {
     TestUtility.CheckArrayItem(0, TestUtility.StructCheckFunction, variableList[6 + startInd], new TestUtility.CheckValues
     {
         parentName = "arrayStruct",
         nameValues = new List <TestUtility.NameValues>
         {
             {
                 new TestUtility.NameValues {
                     Name = "slot0off0", Value = "23"
                 }
             },
             {
                 new TestUtility.NameValues {
                     Name = "slot0off8", Value = "14"
                 }
             },
             {
                 new TestUtility.NameValues {
                     Name = "slot1off130", Value = "25"
                 }
             }
         }
     });
     TestUtility.CheckArrayItem(1, TestUtility.StructCheckFunction, variableList[6 + startInd], new TestUtility.CheckValues
     {
         parentName = "arrayStruct",
         nameValues = new List <TestUtility.NameValues>
         {
             {
                 new TestUtility.NameValues {
                     Name = "slot0off0", Value = "20"
                 }
             },
             {
                 new TestUtility.NameValues {
                     Name = "slot0off8", Value = "18"
                 }
             },
             {
                 new TestUtility.NameValues {
                     Name = "slot1off130", Value = "22"
                 }
             }
         }
     });
     TestUtility.CheckArrayItem(2, TestUtility.StructCheckFunction, variableList[6 + startInd], new TestUtility.CheckValues
     {
         parentName = "arrayStruct",
         nameValues = new List <TestUtility.NameValues>
         {
             {
                 new TestUtility.NameValues {
                     Name = "slot0off0", Value = "30"
                 }
             },
             {
                 new TestUtility.NameValues {
                     Name = "slot0off8", Value = "33"
                 }
             },
             {
                 new TestUtility.NameValues {
                     Name = "slot1off130", Value = "34"
                 }
             }
         }
     });
 }
예제 #5
0
 public void CheckUint4()
 {
     TestUtility.CheckVariable("slot1off129", "96", 4 + startInd, variableList);
 }
예제 #6
0
 [Test] //uint128 slot1off0;  //not enough room move to slot 3
 public void CheckUint3()
 {
     TestUtility.CheckVariable("slot1off0", "57", 3 + startInd, variableList);
 }