Skip to content

Commit

Permalink
fix : cups added to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Oct 12, 2024
1 parent 61a1d12 commit 3342944
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/functions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@
23
>>> params["water"]
5000
>>> params["cups"]
1
>>> args = parser.parse_args(["--method", 'steep-and-release', "--digits", '1'])
>>> params = load_params(args)
>>> params["coffee"] = calc_coffee(params)
Expand All @@ -215,6 +217,8 @@
15.9
>>> params["digits"]
1
>>> params["cups"]
1
>>> args = parser.parse_args(["--method", 'steep-and-release', "--digits", '1', "--cups", '3'])
>>> params = load_params(args)
>>> params["coffee"] = calc_coffee(params)
Expand All @@ -239,6 +243,8 @@
47.8
>>> params["digits"]
1
>>> params["cups"]
3
>>> args = parser.parse_args(["--methods-list"])
>>> run(args)
Methods list:
Expand Down

0 comments on commit 3342944

Please sign in to comment.