GildedRose-Refactoring-Kata/plantuml/history/05_quality-max-50.puml
Michel Grootjans 632a6768eb added history
2019-12-30 11:40:51 +01:00

36 lines
637 B
Plaintext

@startuml
start
note left
Do this for each item in the list.
An item has a name, a sell in value and a quality value
end note
if (not "Aged Brie") then (yes)
if (quality > 0) then (yes)
-lower quality with 1
endif
else (no)
if (quality < 50) then (yes)
-increase quality with 1
endif
endif
-lower sell in with 1
if (sell in < 0) then (yes)
if (not "Aged Brie") then (yes)
if (quality > 0) then (yes)
-lower quality with 1
endif
else (no)
if (quality < 50) then (yes)
-increase quality with 1
endif
endif
endif
stop
@enduml