예제 #1
0
        public void SolveFirstPuzzle()
        {
            var sut = new TransmissionDecoder(REAL_TRANSMISSION);

            Assert.Equal(897, sut.GetVersionSum());
        }
예제 #2
0
        public void ReturnVersionSum(string transmission, int expectedVersionSum)
        {
            var sut = new TransmissionDecoder(transmission);

            Assert.Equal(expectedVersionSum, sut.GetVersionSum());
        }