Пример #1
0
        public void ReturnsFalseGivenNonPythag()
        {
            var solver = new Solver9();

            var result = solver.isPythag(3, 4, 12);

            Assert.Equal(false, result);
        }
Пример #2
0
        public void ReturnsTrueGivenPythag()
        {
            var solver = new Solver9();

            var result = solver.isPythag(3, 4, 5);

            Assert.Equal(true, result);
        }