Example #1
0
 public void NearHundred(int a, bool expected)
 {
     Conditionals test = new Conditionals();
     bool actual = test.NearHundred(a);
     Assert.AreEqual(expected, actual);
 }
Example #2
0
        public void NearHundred(int a, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

            // act
            bool actual = obj.NearHundred(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
        public void NearHundred(int n, bool expected)
        {
            Conditionals obj = new Conditionals();

            bool actual = obj.NearHundred(n);

            Assert.AreEqual(expected, actual);
        }