Exemple #1
0
        public void SimpleTriangleIsOK()
        {
            Triangle t = new Triangle(12, 16, 20);

            var expectedResult = 96;
            var actualResult = t.GetArea();

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #2
0
 public void TriangleNotExists()
 {
     Triangle t = new Triangle(2, 3, 6);
     var res = t.GetArea();
 }
Exemple #3
0
 public void TriangleNegativeInputs()
 {
     Triangle t = new Triangle(0, 4, 6);
     var res = t.GetArea();
 }