Пример #1
0
 public void TestMethod5()
 {
     var Test = new CloserTo10.Program();
     var result = Test.Closer_LylesMug(-3, -5);
     Assert.AreEqual(result, -3);
 }
Пример #2
0
 public void TestMethod4()
 {
     var Test = new CloserTo10.Program();
     var result = Test.Closer_LylesMug(13, 7);
     Assert.AreEqual(result, 0);
 }
Пример #3
0
 public void MinMinus10AndZero_Zero()
 {
     var Test = new CloserTo10.Program();
     var result = Test.Closer_LylesMug(int.MaxValue, 0);
     Assert.AreEqual(result, 0);
 }
Пример #4
0
 public void MinA_BCloser()
 {
     var Test = new CloserTo10.Program();
     var result = Test.Closer_LylesMug(int.MinValue, 0);
     Assert.AreEqual(result, 0);
 }
Пример #5
0
 public void MaxAndMin_Zero()
 {
     var Test = new CloserTo10.Program();
     var result = Test.Closer_LylesMug(int.MinValue, int.MaxValue);
     Assert.AreEqual(result, int.MaxValue);
 }
Пример #6
0
 public void ELippertTest1()
 {
     var Test = new CloserTo10.Program();
     var result = Test.Closer_LylesMug(int.MinValue + 10, 0);
     Assert.AreEqual(result, 0);
 }