Esempio n. 1
0
 public void CalculateLoopSizeTest(int wantedNumber, int expectedLoopSize)
 {
     Assert.AreEqual(expectedLoopSize, Day25.CalculateLoopSize(wantedNumber));
 }
        public void ShouldCalculateLoopSize(long publicKey, long expected)
        {
            var actual = Day25.CalculateLoopSize(publicKey);

            Assert.Equal(expected, actual);
        }
Esempio n. 3
0
 public void Test(long publicKey, int subjectNumber, long expected)
 {
     Assert.Equal(expected, Day25.CalculateLoopSize(publicKey, subjectNumber));
 }