Skip to content

Commit

Permalink
feature(dafalgan) add a new drug
Browse files Browse the repository at this point in the history
  • Loading branch information
mordenius committed Dec 23, 2021
1 parent 7969cfa commit 6c6842e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const drugs = [
new Drug("Doliprane", 20, 30, [new Linear(), new DoubleAfterExpires()]),
new Drug("Herbal Tea", 10, 5, [new Linear(), new DoubleAfterExpires(), new Reverse()]),
new Drug("Fervex", 5, 40, [new Linear(), new ChangeAcrossExpires(), new Reverse(), new ZeroAfterExpires()]),
new Drug("Magic Pill", 15, 40)
new Drug("Magic Pill", 15, 40),
new Drug("Dafalgan", 20, 30, [new Linear(), new DoubleAfterExpires(), new Double()]),
];
const trial = new Pharmacy(drugs);

Expand Down

0 comments on commit 6c6842e

Please sign in to comment.