Commit Graph

16 Commits

Author SHA1 Message Date
ollie beney
75fa4869c0 found and fixed bug where quality could go above 50 and below 0 when change increment was greater than one 2020-11-05 17:03:15 +00:00
ollie beney
24ebe0b7dd created boolean methods for brie and backstage, implemented them in a case statement 2020-11-05 16:24:53 +00:00
ollie beney
e2673f0734 extracted all product types into their own methods and tested 2020-11-05 16:14:49 +00:00
ollie beney
c0ae6e9988 extracted quality updates for backstage passes 2020-11-05 15:16:09 +00:00
ollie beney
3773a972aa actually fixed special item this time, feature tests also fixed 2020-11-05 12:49:20 +00:00
ollie beney
89fb0d8689 corrected special_item method and added further test for this. 2020-11-05 12:38:18 +00:00
ollie beney
58be55719a extracted #special_item? method and implemented in update quality section 2020-11-05 12:30:32 +00:00
ollie beney
70040c5144 updated spelling of sulfuras 2020-11-04 16:55:20 +00:00
ollie beney
bbe5395911 added method to check if an item is selfarus 2020-11-04 16:51:20 +00:00
ollie beney
27860ced34 update_normal_item method updates items without quality allowances if quality > 0 2020-11-04 16:39:36 +00:00
ollie beney
c940184607 add tests for backstage items 2020-11-04 15:15:36 +00:00
ollie beney
f7556aecc0 add tests for sulfuras input 2020-11-04 15:04:25 +00:00
ollie beney
39ff5fee08 test existing behaviour for aged brie 2020-11-04 14:57:13 +00:00
ollie beney
d8426bd884 testing to see if item value drops below 0 2020-11-04 14:36:00 +00:00
ollie beney
fb4d5aad4d basic test for ordinary item, made update_quality method into an instance method 2020-11-04 14:32:23 +00:00
ollie beney
5437b449e8 removed files I'm not using 2020-11-04 13:43:50 +00:00