Пример #1
0
    public void SolvesBruteforceVersion(int[][] grid, int expected)
    {
        int result = new RottingOrangesSolver().SolveUsingBruteforce(grid);

        result.Should().Be(expected);
    }
Пример #2
0
    public void Solves(int[][] grid, int expected)
    {
        int result = new RottingOrangesSolver().Solve(grid);

        result.Should().Be(expected);
    }