Exemple #1
0
        public void SampleData()
        {
            var input = new [] {
                "aaaaa-bbb-z-y-x-123[abxyz]",
                "a-b-c-d-e-f-g-h-987[abcde]",
                "not-a-real-room-404[oarel]",
                "totally-real-room-200[decoy]"
            };

            int result = _day4.CalculateTotal(input);

            Assert.AreEqual(1514, result);
        }