Question: Write a unit test for the Rational class introduced in section 6.3. If you have implemented the extensions to the Rational class described in exercise
Write a unit test for the Rational class introduced in section 6.3. If you have implemented the extensions to the Rational class described in exercise 8 from Chapter 6, you should include those extensions in your unit test as well.
Rewrite the rational.h and rational.cpp files so that the Rational class is const correct.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
