Exemple #1
0
        public void Part2LargeSample()
        {
            AdapterTester largeDataSetTester = new AdapterTester(GetLargeSampleDataSet());

            Assert.Equal(19208, largeDataSetTester.GetJoltageArrangementCount());
        }
Exemple #2
0
        [Fact]// (Skip="Runs too long")]
        public void Part2()
        {
            AdapterTester adapterTester = new AdapterTester(StringListRetriever.Retreive("InputList10.txt").Select(x => int.Parse(x)).ToList());

            Assert.Equal(9256148959232, adapterTester.GetJoltageArrangementCount());
        }
Exemple #3
0
        public void Part2SmallSample()
        {
            AdapterTester smallDataSetTester = new AdapterTester(GetSmallSampleDataSet());

            Assert.Equal(8, smallDataSetTester.GetJoltageArrangementCount());
        }