Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Description is missing crucial information: What is the condition for PWR, equal, greater than, or greater than or equal? What does the colors filter mean? (The description never said the car's color should be contained inside the array.)
Please follow standard Java coding practices: fields of a class should not be exposed directly; they should be private with a getter and setter of appropriate names (e.g
getHorsepower
andgetPowerToWeightRatio
).Expected and actual are reversed in the test assertion message display.
Also, random tests are missing.
import java.util.List;
should be added to initial code.