Пример #1
0
        public void Problem3Example() {
            // Arrange
            var problem = new Problem3();

            // Act
            var result = problem.LargestPrimeFactor(13195);

            // Assert
            Assert.AreEqual((ulong)29, result);
        }
Пример #2
0
        public void Problem3Answer() {
            // Arrange
            var problem = new Problem3();

            // Act
            var result = problem.Answer;

            // Assert
            Assert.AreEqual("6857", result);
        }