Beispiel #1
0
 public void InsertNumberTestArgumentOutOfRangeExceptionTest2()
 {
     BasicCoding.InsertNumber(8, 15, 3, 32);
 }
Beispiel #2
0
 public void InsertNumberTestArgumentExceptionTest()
 {
     BasicCoding.InsertNumber(8, 15, 8, 3);
 }
Beispiel #3
0
 public void InsertNumberTest3()
 {
     Assert.AreEqual(BasicCoding.InsertNumber(8, 15, 3, 8), 120);
 }
Beispiel #4
0
 public void InsertNumberTest2()
 {
     Assert.AreEqual(BasicCoding.InsertNumber(8, 15, 0, 0), 9);
 }
Beispiel #5
0
 public void InsertNumberTest1()
 {
     Assert.AreEqual(BasicCoding.InsertNumber(15, 15, 0, 0), 15);
 }
        public int Test_InsertNumber(int sourceNum, int inNum, int i, int j)
        {
            var result = BasicCoding.InsertNumber(sourceNum, inNum, j, i);

            return(result);
        }