You are an enterprise application developer. You create a routing application that ascertains the best routes for shipment of containers.
The application contains a complex routing method that examines the following parameters:
The weight of the containers
The length of the trailer that hauls the containers Road constraints such as weight limits and bridge heights
The method returns a list of roads to use. You need to design a unit test to ensure that the routes returned do not violate any known constraints. Which test should you perform?
A.
Test whether the road weight limits are adhered to.
B.
Test whether the origin and destination passed into the method are the same as in the results.
C.
Perform exception testing to verify whether the method rejects invalid origins and destinations.
D.
Test whether all route options are evaluated during analysis.