The goal of the Logistcs application is find out the best route between two places within a map. Once created, add routes to the map, as following:
The best route is the cheapest one, considering the truck autonomy (Km/l) and the fuel price (l). Based on the routes above, if the truck has to go from place A to place D, its autonomy is 10 Km/l and the litre of the fuel cost $2.50, the best route will be A -> B -> D, because it's the cheapest one: $6.25.
The Logistics application has quality in its core. Beyond unit tests, the following projects were developed in order to validate the whole solution:
|Project||Test type||Build status|