Example #1
0
 public void I2_Overrange()
 {
     SwapArray.SwapArray sa = new SwapArray.SwapArray();
     sa.SetAr("asdfghjk");
     sa.SetSize("4");
     sa.SetI1("1");
     sa.SetI2("3", 1);
 }
Example #2
0
 public void I2_Valid()
 {
     SwapArray.SwapArray sa = new SwapArray.SwapArray();
     sa.SetAr("asdfghjk");
     sa.SetSize("4");
     sa.SetI1("1");
     sa.SetI2("5",1);
 }
Example #3
0
        public void I2_CannotConvert()
        {
            SwapArray.SwapArray sa = new SwapArray.SwapArray();
            sa.SetAr("asdfghjk");

            sa.SetSize("4");
            sa.SetI1("1");
            sa.SetI2("n", 1);
        }
Example #4
0
 public void I2_WithoutI1()
 {
     SwapArray.SwapArray sa = new SwapArray.SwapArray();
     sa.SetAr("asdfghjk");
     sa.SetSize("4");
     sa.SetI2("3", 1);
 }