Exemplo n.º 1
0
    public void Y2015_Day19_GetMinimumSteps()
    {
        // Arrange
        string        molecule     = "HOH";
        List <string> replacements = new() { "e => H", "e => O", "H => HO", "H => OH", "O => HH" };

        // Act
        int actual = Day19.GetMinimumSteps(molecule, replacements, Logger, CancellationToken.None);

        // Assert
        actual.ShouldBe(3);
    }