GildedRose-Refactoring-Kata/plantuml/history/03_quality-never-negative.puml
2019-12-30 13:08:06 +01:00

27 lines
375 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 (quality > 0) then (yes)
-lower quality with 1
else (no)
endif
-lower sell in with 1
if (sell in < 0) then (yes)
if (quality > 0) then (yes)
-lower quality with 1
else (no)
endif
else (no)
endif
stop
@enduml