Exemple #1
0
        public void ExampleTest()
        {
            var disc     = Day16.Dragon("10000", 20);
            var checksum = Day16.Checksum(disc);

            Assert.Equal("01100", checksum);
        }
Exemple #2
0
 public void ChecksumTest()
 {
     Assert.Equal("100", Day16.Checksum("110010110100"));
 }
        public void Checksum()
        {
            var result = _day16.Checksum("110010110100");

            Assert.AreEqual("100", result);
        }