예제 #1
0
        public void PrimeNumTestOne()
        {
            //arrange
            int    num      = 7;
            string expected = "7";

            //assign
            string actual = PrimeFactorGenerator.PrimeFactors(num);

            //assert
            Assert.Equal(expected, actual);
        }
예제 #2
0
        static void Main(string[] args)
        {
            string test = PrimeFactorGenerator.PrimeFactors(7);

            WriteLine(test);
        }