Created
July 23, 2021 19:25
-
-
Save LosantGists/e9e3f6bc03258aab658cf556435fe14b to your computer and use it in GitHub Desktop.
Automating Unit Tests Blog (7) 7.23.21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # it should return an empty DataFrame if the battery was never recharged | |
| df_descending_only = build_battery_history([100,70,40,20]) | |
| assert len( get_rows_before_charging(df_descending_only) ) == 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment