Skip to content

Commit

Permalink
New tests for Customer
Browse files Browse the repository at this point in the history
  • Loading branch information
rihter007 committed Nov 20, 2015
1 parent b9dafae commit a7fdcb2
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 36 deletions.
82 changes: 47 additions & 35 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/test/java/CustomerRentalParamTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ public CustomerRentalParamTest(RentalPriceIndex param)
@Parameterized.Parameters
public static Collection<RentalPriceIndex> addedNumbers()
{
return Arrays.asList(new RentalPriceIndex(PriceCodes.Childrens, 1, 1.5));
return Arrays.asList(new RentalPriceIndex(PriceCodes.Childrens, 1, 1.5)
, new RentalPriceIndex(PriceCodes.NewRelease, 1, 3)
, new RentalPriceIndex(PriceCodes.Regular, 1, 2)
, new RentalPriceIndex(PriceCodes.Regular, 2, 2));
}

private static void checkMoviePrice(String movieName, double price, String actualStatement)
Expand Down

0 comments on commit a7fdcb2

Please sign in to comment.