コード例 #1
0
        public void Problem8Answer() {
            // Arrange
            var problem = new Problem8(new Problem8Input());

            // Act
            var result = problem.Answer;

            // Assert
            Assert.AreEqual("23514624000", result);
        }
コード例 #2
0
        public void Problem8Example() {
            // Arrange
            var problem = new Problem8(new Problem8Input());

            // Act
            var result = problem.LargestProductInRangeOf(4);

            // Assert
            Assert.AreEqual(5832UL, result);
        }