Skip to content

Commit 08eaa24

Browse files
committed
Test the dataframe directly
1 parent 8f990c4 commit 08eaa24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tests/test_single_coin_flip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def test_single_coin_flip() -> None:
77
"""Test flipping a single coin"""
8-
result = src.flip_coins.flip_coin("heads").to_dict()
8+
result = src.flip_coins.flip_coin("heads")
99
assert result["chosen_side"][0] == "heads"
1010
assert result["result_side"][0] in ["heads", "tails"]
1111
assert result["outcome"][0] in ["won", "lost"]

0 commit comments

Comments
 (0)