Beispiel #1
0
        public void DataDrivenTest()
        {
            var          a    = (double)_testContext.DataRow[0]; //(int)Column.UserId
            var          b    = (double)_testContext.DataRow[1];
            var          c    = (double)_testContext.DataRow[2];
            TriangleType type = TriangleTester.GetTriangleType(a, b, c);

            Assert.AreEqual(TriangleType.Equilateral, type);
        }
 public TriangleType TestTriangleNUnit(double a, double b, double c)
 {
     return(TriangleTester.GetTriangleType(a, b, c));
 }