Create a Unit Test Project and add the following tests:
- FactorsOf32ArrayTest
o 32 has 6 factors
o Create 2 arrays where each factor of 32 is in the same position to it's corresponding factor in the other array(there should be 6 values in each)
o Use a While Loop to loop through all of the array's values and Assert that the value in the first array times the value in the second array in the same position is 32. - FactorsOf32DictionaryCatchErrorTest
o 32 has 6 factors
o Create a Dictionary where each factor of 32 is a key to it's corresponding factor (there should be 6 keys)
o Use a For Loop to loop through all integer values from 1 to 32. Use a Try Catch to deal with not having a key in the Dictionary. If the key is found Assert that the Key times the Value of the current pair is 32 - FactorsOf32DictionaryProactiveTest
o 32 has 6 factors
o Create a Dictionary where each factor of 32 is a key to it's corresponding factor (there should be 6 keys)
o Use a Do While or Do Until to loop through all integer values from 1 to 32. Proactively deal with not having a key in the Dictionary by calling ContainsKey on your dictionary. If the key is found Assert that the Key times the Value of the current pair is 32