public void Day16_TestDecoder_VersionSums_OK(string hexInput, int expected)
        {
            var sut = new PaketDecoder(hexInput);

            sut.ParseAllPackets();
            int actual = sut.VersionSum();

            Assert.Equal(expected, actual);
        }
        public void Day16_TestDecoder_Calculate_OK(string hexInput, long expected)
        {
            var sut = new PaketDecoder(hexInput);

            sut.ParseAllPackets();
            long actual = sut.Packets[0].GetValue();

            Assert.Equal(expected, actual);
        }
        public void Day16_Puzzle2_OK()
        {
            var sut = new PaketDecoder(Data);

            sut.ParseAllPackets();
            long actual = sut.Packets[0].GetValue();

            Assert.Equal(2536453523344, actual);
        }
        public void Day16_Puzzle1_OK()
        {
            var sut = new PaketDecoder(Data);

            sut.ParseAllPackets();
            int actual = sut.VersionSum();

            Assert.Equal(917, actual);
        }