Skip to content

Commit

Permalink
fix : tests updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Sep 3, 2024
1 parent c9103b1 commit 1cd7cd8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
17 changes: 11 additions & 6 deletions test/functions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,15 @@
>>> run(args)
Methods list:
<BLANKLINE>
1. `chemex` - Chemex method
2. `custom` - Custom brewing method
3. `espresso` - Espresso method
4. `french-press` - French press method
5. `siphon` - Siphon method
6. `v60` - V60 method
1. `auto-drip` - Auto drip method
2. `chemex` - Chemex method
3. `cold-brew` - Cold brew method
4. `cold-brew-conc` - Cold brew(concentrate) method
5. `custom` - Custom brewing method
6. `espresso` - Espresso method
7. `french-press` - French press method
8. `moka-pot` - Moka pot method
9. `pour-over` - Pour-over method
10. `siphon` - Siphon method
11. `v60` - V60 method
"""
8 changes: 4 additions & 4 deletions test/verified_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
True
>>> pour_over_params["water"] == 240
True
>>> french_press_coffee = coffee_calc(french_press_params)
>>> french_press_coffee == 16
>>> pour_over_coffee = coffee_calc(pour_over_params)
>>> pour_over_coffee == 16
True
>>> auto_drip_params = load_method_params("auto-drip") # https://wonderstate.com/pages/auto-drip
>>> auto_drip_params["coffee_ratio"] == 1
Expand All @@ -78,7 +78,7 @@
True
>>> cold_brew_params["water"] == 242
True
>>> cold_brew_coffee = cold_brew_coffee(cold_brew_params)
>>> cold_brew_coffee = coffee_calc(cold_brew_params)
>>> cold_brew_coffee == 22
True
>>> cold_brew_conc_params = load_method_params("cold-brew-conc") # https://www.thespruceeats.com/cold-brew-concentrate-recipe-5197494
Expand All @@ -88,7 +88,7 @@
True
>>> cold_brew_conc_params["water"] == 120
True
>>> cold_brew_conc_coffee = cold_brew_conc_coffee(cold_brew_conc_params)
>>> cold_brew_conc_coffee = coffee_calc(cold_brew_conc_params)
>>> cold_brew_conc_coffee == 24
True
>>> moka_pot_params = load_method_params("moka-pot") # https://bakedbrewedbeautiful.com/how-to-make-coffee-in-moka-pot
Expand Down

0 comments on commit 1cd7cd8

Please sign in to comment.