Skip to content

Commit

Permalink
Remove the comparisons to the official rate in 01
Browse files Browse the repository at this point in the history
Fixes #146
  • Loading branch information
jond01 committed Mar 29, 2024
1 parent 2bd12dc commit db04526
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_onezero.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ def test_df(df: pd.DataFrame) -> None:
df.index == [CurrencyCode.EUR, CurrencyCode.USD]
).all(), "The currencies are not as expected"
assert (
df[("transfer", "buy")] < df[("currency", "official rate")]
).all(), "The buy rate is not lower than the official rate"
assert (
df[("currency", "official rate")] < df[("transfer", "sell")]
).all(), "The sell rate is not higher than the official rate"
df[("transfer", "buy")] < df[("transfer", "sell")]
).all(), "The buy rate is not lower than the sell rate"

0 comments on commit db04526

Please sign in to comment.