Commit Graph

8 Commits

Author SHA1 Message Date
Dante Panella
a016db7317 The following changes were made to the code:
The code was refactored to use more descriptive variable names.
The logic for handling each type of item was consolidated into separate
blocks of code.
The code was made more efficient by reducing the number of times the
Math.min() method was called.
The code was made more readable by adding comments to explain the logic.

This unit test tests the following behaviors of the GildedRose class:

The quality of an Aged Brie item increases over time.
The quality of a Backstage passes to a TAFKAL80ETC concert item
increases over time, then zeroes out.
The quality of a normal item decreases over time.
2023-07-24 21:42:09 -03:00
Horia Constantin
a4ac836a1d
updated junit.jupiter.version for java 2021-12-23 20:17:15 +01:00
Amedee Van Gasse 🦄🌈✨ (they/them)
f5f84fc776 Fix Maven warnings 2021-11-16 15:19:03 +01:00
Lars Eckart
0f729f3192 update gradle wrapper & junit5 dependency 2020-06-04 10:22:28 +03:00
Görge Albrecht
eb271c686f migrate to JUnit 5 2019-11-18 17:05:22 +01:00
Ton van Bart
260dc83099 use java.version property in pom.xml 2016-12-01 10:47:47 +01:00
Ton van Bart
62b3b2fdb9 added IDEA project files to gitignore, set Maven java version to 8 2016-11-29 12:40:59 +01:00
Ton van Bart
3289182cef reorganized to Maven project structure 2016-11-29 12:36:54 +01:00