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

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

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

            WriteLine(test);
        }