View Code? Open in Web Editor
NEW
This project forked from zcw-j101d51/itemsorter
itemsorter's Introduction
- Objective - To implement an
ItemSorter
which returns an array of Item
objects sorted by the respective field.
- Purpose - To establish familiarity with:
Part 1 - Create method definitions for class Item
- Write method definitions for
Item
class.
- Ensure 100% success rate of each test class in
test.rocks.zipcode.io.item
Part 2 - Implement Comparator
interface
- Implement
Comparator
interface for each class in the package src.rocks.zipcode.io.comparators
.
- Write method definitions for each
Comparator
.
- Ensure 100% success rate of each test class in
test.rocks.zipcode.io.comparators
.
Part 3 - Create method definitions for class ItemSorter
- Write method definitions for
ItemSorter
- Ensure 100% success rate of each test class in
test.rocks.zipcode.io.itemsorter
.
Part 4 - Write test cases for sorting by price
- Using
SortByIdTest
and SortByNameTest
as example classes, write test at least 3 cases for SortByPriceTest
.
- Verify with classmates that your tests are comprehensive, and covering the correct aspect of the program.
itemsorter's People
Contributors