Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Created September 13, 2024 11:55
Show Gist options
  • Save trikitrok/08a21498cfe29a5a79e70e950216ee63 to your computer and use it in GitHub Desktop.
Save trikitrok/08a21498cfe29a5a79e70e950216ee63 to your computer and use it in GitHub Desktop.
Argent Rose Lite identifying boundaries
* sell-in (int):
Partitions
P1: sell-in € (-inf,0)
P2: sell-in € (5, inf) (Theatre)
P4: sell-in € [0, 5] (Theatre)
Boundaries
B1: sell-in en 0 entre P1 y P4 => on point= 0 en P4, off point=-1 P1
-----------1|0--------------
[P1]|[P4]
B2: sell-in en 5 entre P2 y P4 => on point= 5 en P4, off point=6 P2
-----------5|6--------------
[P4]|[P2]
* descripttion (string)
Partition
== "Aged Brie"
== "French Wine"
== "Holy Grial"
== "Theatre Passes"
el default (Regular)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment