Ejemplo n.º 1
0
    public void Y2021_Day23_Organize_Returns_Correct_Value(bool unfoldDiagram, int expected)
    {
        // Arrange
        string[] diagram =
        {
            "#############",
            "#...........#",
            "###B#C#B#D###",
            "  #A#D#C#A#",
            "  #########",
        };

        // Act
        int actual = Day23.Organize(diagram, unfoldDiagram);

        // Assert
        actual.ShouldBe(expected);
    }