Commit Graph

15 Commits

Author SHA1 Message Date
Yarramsetti Naresh
7c52f599a3 4.Refactor to use constants and enums for all magic values 2025-04-06 18:07:31 +05:30
Yarramsetti Naresh
4dafc71bea 3.2 : Add Tests for Conjured Items
1)test_conjured_item_quality_decreases_twice_as_fast
    2)test_conjured_item_quality_decreases_twice_as_fast_after_sell_by
    3)test_conjured_item_quality_never_negative
2025-04-06 17:53:56 +05:30
Yarramsetti Naresh
24c56931bf 3. Implement Conjured items support:
Added update_conjured_item method that:
    Degrades quality twice per day (calls decrease_quality twice)
    Respects same quality bounds as normal items
Modified dispatcher to detect "Conjured" in item names
Enhanced expired item handling:
    Double degradation continues post-sell-by
    Added explicit condition before Sulfuras check
Maintained all existing behavior through test verification
2025-04-06 17:52:27 +05:30
Yarramsetti Naresh
273ed6aa7c 2. Extracted monolithic update_quality into focused methods 2025-04-06 17:41:49 +05:30
Yarramsetti Naresh
5d1bb3cee1 1. Add Comprehensive Test Cases to cover all existing functionality before making any changes. 2025-04-06 17:10:47 +05:30
emily
8e9e31f9b8 Improve docs for python version 2024-06-01 10:13:32 +02:00
Jannis Mainczyk
dd50681dae
fix deprecated usage of assertEquals
should be assertEqual, as the other form has been deprecated since 2010 and since been removed
2024-03-01 16:42:20 +01:00
emily
4ffad014c6 Fix Python documentation 2023-11-03 16:56:46 +01:00
emily
6df86da845 tweak docs 2023-11-03 15:26:54 +01:00
emily
3fb6c60ad1 Improve Python documentation 2023-11-03 15:14:14 +01:00
Albert Villanova del Moral
f2cf4ad415
Update test_gilded_rose.py 2021-02-18 23:01:21 +01:00
Peter Kofler
b8233e291d Moves language specific Git ignores into language subfolders. 2018-12-02 20:31:26 +01:00
Radek Simko
4a7ffc291e Remove extra whitespaces 2015-06-27 08:08:50 +01:00
Peter Kofler
4cb34a7c73 format Python code (only whitespace changes) 2014-01-25 23:01:40 +01:00
emilybache
567c27854a Removed all the code except for the GildedRose kata from this repo 2013-06-10 14:42:41 +02:00