示例#1
0
        public void TestInput()
        {
            var sut = new PolymerSolver(InputParser.ParseString("input_data/day14-test.txt"));

            Assert.Equal(1588, sut.MostCommonMinusLeastCommon(10));
        }
示例#2
0
        public void TestInputTwo()
        {
            var sut = new PolymerSolver(InputParser.ParseString("input_data/day14-test.txt"));

            Assert.Equal(2188189693529, sut.MostCommonMinusLeastCommon(40));
        }
示例#3
0
        public void PuzzelTwo()
        {
            var sut = new PolymerSolver(InputParser.ParseString("input_data/day14-1.txt"));

            Assert.Equal(3542388214529, sut.MostCommonMinusLeastCommon(40));
        }
示例#4
0
        public void PuzzelOne()
        {
            var sut = new PolymerSolver(InputParser.ParseString("input_data/day14-1.txt"));

            Assert.Equal(3230, sut.MostCommonMinusLeastCommon(10));
        }