public void TestCarmichaelFunction() { //Arrange var expected = new long[] { 0, 1, 1, 2, 2, 4, 2, 6, 2, 6, 4, 10, 2, 12, 6, 4, 4, 16, 6, 18, 4, 6, 10, 22, 2, 20, 12, 18, 6, 28, 4, 30, 8, 10, 16, 12, 6 }; //Act var actual = UtilityFunctions.CarmichaelArray(36); //Assert Assert.Equal(expected, actual); }