Trobax
4e692bf70e
add new class
...
add new class to start wrapping all the methods
2022-11-23 17:17:42 +01:00
Trobax
0d3aefb6c8
update updateExpired method
...
update updateExpired method to process Aged Brie then Backstage passes then Sulfuras then all the rest items
also refactoring increase and decease quality methods to prevent duplication code and for easy maintain
2022-11-23 17:14:08 +01:00
Trobax
e0c5b8b5bd
update updateQuality method
...
update updateQuality method to process each item individually Aged Brie then Backstage passes then Sulfuras then the rest of items
2022-11-23 17:04:15 +01:00
Trobax
bdcd441019
invert if condition
...
invert if condition to simplify the code
2022-11-23 16:54:56 +01:00
Trobax
7422960de8
breaking down more scopes
...
breaking down the Gilded Rose class to several methods for a better approach
2022-11-23 16:52:22 +01:00
Trobax
aefb4310a9
break down the method
...
breaking down the method updateQuality for to various scopes as a refactoring
2022-11-23 16:46:46 +01:00
Trobax
1302ae4686
update item quality
...
updating the ite.quality affectation
2022-11-23 16:41:27 +01:00
Trobax
112db7306b
test case for legendary items
...
legendary items never have to be sold
2022-11-23 16:38:17 +01:00
Trobax
ab94957940
test cases for aged items 2
...
1- aged item quality increases twice as fast past selling date
2- aged item quality 50 past selling date does not increase
3- quality of an item is never greater than 50
2022-11-23 16:37:43 +01:00
Trobax
623d654efd
test cases for aged items
...
1- aged items increase in quality over time
2- aged item quality 49 increases up to 50
2022-11-23 16:35:25 +01:00
Trobax
e1aa1664e5
item quality test cases
...
1 - test case for item quality degrades twice as fast past selling date
2 - item quality degrades by one with one day left
3- item quality degrades down to zero
4 - item quality is never negative
2022-11-23 16:34:08 +01:00
Trobax
8692a3e3e9
test case 2
...
test case for multiple items degrade each day
2022-11-23 16:30:39 +01:00
Trobax
9b36b7d134
adding test case quality selling decreases
...
adding test case for quality decreases and selling decreases each day
2022-11-23 16:24:15 +01:00
Trobax
013c72196b
update gildedRose
...
enhanced the for loop for reading the code more effecient
2022-11-23 15:56:19 +01:00
Trobax
889455d4a0
clean up repository
...
clean the repo to focus only on JAVA
2022-11-23 15:17:57 +01:00
Görge Albrecht
eb271c686f
migrate to JUnit 5
2019-11-18 17:05:22 +01:00
Ton van Bart
5605173439
reverted GildedRose to original code
2017-01-11 21:32:08 +01:00
Ton van Bart
b2422cf733
delete package with weird name
2017-01-09 22:38:54 +01:00
Ton van Bart
d4b3a30334
delete package with weird name
2017-01-09 22:31:26 +01:00
Ton van Bart
40e7ea75c6
fixed directory structure
2016-12-01 09:45:34 +01:00
Ton van Bart
3289182cef
reorganized to Maven project structure
2016-11-29 12:36:54 +01:00