Exemple #1
0
 public void Sqrt_Exception()
 {
     var result = new SqrtOperation().Perform(-10);
 }
Exemple #2
0
        public void Sqrt()
        {
            var result = new SqrtOperation().Perform(10);

            Assert.AreEqual(Math.Sqrt(10), result);
        }