@@ -20,95 +20,95 @@ public void onlyASingleBook() {
2020 assertEquals (8 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
2121 }
2222
23- @ Ignore
23+ @ Ignore ( "Remove to run test" )
2424 @ Test
2525 public void twoOfSameBook () {
2626 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 1 ));
2727 Bookstore bookstore = new Bookstore (books );
2828 assertEquals (16 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
2929 }
3030
31- @ Ignore
31+ @ Ignore ( "Remove to run test" )
3232 @ Test
3333 public void emptyBasket () {
3434 List <Integer > books = new ArrayList <>();
3535 Bookstore bookstore = new Bookstore (books );
3636 assertEquals (0 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
3737 }
3838
39- @ Ignore
39+ @ Ignore ( "Remove to run test" )
4040 @ Test
4141 public void twoDifferentBooks () {
4242 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 2 ));
4343 Bookstore bookstore = new Bookstore (books );
4444 assertEquals (15.20 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
4545 }
4646
47- @ Ignore
47+ @ Ignore ( "Remove to run test" )
4848 @ Test
4949 public void threeDifferentBooks () {
5050 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 2 , 3 ));
5151 Bookstore bookstore = new Bookstore (books );
5252 assertEquals (21.6 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
5353 }
5454
55- @ Ignore
55+ @ Ignore ( "Remove to run test" )
5656 @ Test
5757 public void fourDifferentBooks () {
5858 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 2 , 3 , 4 ));
5959 Bookstore bookstore = new Bookstore (books );
6060 assertEquals (25.6 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
6161 }
6262
63- @ Ignore
63+ @ Ignore ( "Remove to run test" )
6464 @ Test
6565 public void fiveDifferentBooks () {
6666 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 2 , 3 , 4 , 5 ));
6767 Bookstore bookstore = new Bookstore (books );
6868 assertEquals (30 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
6969 }
7070
71- @ Ignore
71+ @ Ignore ( "Remove to run test" )
7272 @ Test
7373 public void twoGroupsOfFourIsCheaperThanGroupOfFivePlusGroupOfThree () {
7474 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 1 , 2 , 2 , 3 , 3 , 4 , 5 ));
7575 Bookstore bookstore = new Bookstore (books );
7676 assertEquals (51.20 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
7777 }
7878
79- @ Ignore
79+ @ Ignore ( "Remove to run test" )
8080 @ Test
8181 public void groupOfFourPlusGroupOfTwoIsCheaperThanTwoGroupsOfThree () {
8282 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 1 , 2 , 2 , 3 , 4 ));
8383 Bookstore bookstore = new Bookstore (books );
8484 assertEquals (40.8 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
8585 }
8686
87- @ Ignore
87+ @ Ignore ( "Remove to run test" )
8888 @ Test
8989 public void twoEachOfFirst4BooksAnd1CopyEachOfRest () {
9090 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 1 , 2 , 2 , 3 , 3 , 4 , 4 , 5 ));
9191 Bookstore bookstore = new Bookstore (books );
9292 assertEquals (55.60 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
9393 }
9494
95- @ Ignore
95+ @ Ignore ( "Remove to run test" )
9696 @ Test
9797 public void twoCopiesOfEachBook () {
9898 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 1 , 2 , 2 , 3 , 3 , 4 , 4 , 5 , 5 ));
9999 Bookstore bookstore = new Bookstore (books );
100100 assertEquals (60.00 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
101101 }
102102
103- @ Ignore
103+ @ Ignore ( "Remove to run test" )
104104 @ Test
105105 public void threeCopiesOfFirstBookAnd2EachOfRemaining () {
106106 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 1 , 2 , 2 , 3 , 3 , 4 , 4 , 5 , 5 , 1 ));
107107 Bookstore bookstore = new Bookstore (books );
108108 assertEquals (68.00 , bookstore .calculateTotalCost (), EQUALITY_TOLERANCE );
109109 }
110110
111- @ Ignore
111+ @ Ignore ( "Remove to run test" )
112112 @ Test
113113 public void threeEachOFirst2BooksAnd2EachOfRemainingBooks () {
114114 List <Integer > books = new ArrayList <>(Arrays .asList (1 , 1 , 2 , 2 , 3 , 3 , 4 , 4 , 5 , 5 , 1 , 2 ));
0 commit comments