Today, Dr. Bowring and I had a productive meeting focused on JUnit Testing. Our primary goal was to utilize Matlab for thorough testing of the mathematical calculations behind Tripoli formulas. Here’s how we went about it:

Setting Up Testing in Matlab:

To kick off our testing efforts, we leveraged Matlab’s capabilities by creating a Testing object within the Java Test class.

After that, we carefully collected all the needed data for thorough testing of the specific math we were examining. In our Test class, we made a mock object that copied the data from Matlab. This made it easy to check if our results were correct.

Dr. Bowring was instrumental during this process, imparting valuable insights into the mindset of a tester. He guided me on how to approach testing challenges and provided strategies for overcoming roadblocks.

One of the key takeaways from today’s session was the significance of utilizing the debug function. It proved to be an invaluable tool for pinpointing and resolving discrepancies within the data in both Matlab and Java code.

As we move forward, our plan is to expand our testing efforts as the semester progresses. With midterms on the horizon and graduation drawing near, we’re committed to ensuring the robustness and accuracy of our Tripoli formulas through rigorous testing.