Example #1
0
        public void TestFindStrengthOfStrongestBridge()
        {
            string filePath = @"TwentyFour\DayTwentyFourTestInput.txt";
            var    sut      = new DayTwentyFour();
            var    states   = sut.FindStrengthOfStrongestBridge(filePath);
            int    result   = states.Select(s => s.TotalStrength).Max();

            Assert.Equal(31, result);
        }