Esempio n. 1
0
        public void Solver_Should_ReturnASolution2()
        {
            // Arrange
            var solver = new Solver();

            // Act
            string result = solver.Solve(5, 15, 3);

            // Assert
            Assert.That(result, Is.EqualTo("5=15/3"));
        }
Esempio n. 2
0
 public KattisSolver(Stream inStream, Stream outStream)
 {
     _scanner = new Scanner(inStream);
     _writer = new StreamWriter(outStream);
     _solver = new Solver();
 }