Today all of the group members went for a meeting at the CDM building, and we talked about how we plan to split up the work on the assignment. We also had some confusion about what is expected of us when making a sketch for the more complex functions. Additionally, we were confused on whether our unit tests have to sum up to a cyclometric complexity of 12 or if it is the function that we have to test that sum up to 12. We established folders and set up the AES project in P4V. All of the members in the group were very nice and were very cooperative.
I also tried to go ahead a little bit by trying to make a test for one of the functions I was assigned, at first setting the main function in AES to allow unit testing was tricky, but it turns out it was an issue with my setup and the solution which was resolved. Although I'm not sure if it what the assignment is looking for, I practiced the polynomial function by getting the results of all 256 possible options, and stored them into an array. Next, I set up an array called translated, which would be the results for all 256 possible options. Lastly, I compared the functions results with the translated array by using the CHECK() function. Some difficulties that occurred were filling up the translated array, I ended up using a decimal to binary function to help me in filling the array.
No comments:
Post a Comment