Skip to content

Commit ce631da

Browse files
committed
improved test_pick
1 parent 6a23be1 commit ce631da

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- Updated test_cells to cover boundary cases of cell_len
13+
- Updated test_pick to cover untested inputs of pick_bool
1314

1415
## [13.3.1] - 2023-01-28
1516

tests/test_pick.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33

44
def test_pick_bool():
5+
assert pick_bool(False) == False
6+
assert pick_bool(True) == True
7+
assert pick_bool(None) == False
58
assert pick_bool(False, True) == False
69
assert pick_bool(None, True) == True
710
assert pick_bool(True, None) == True

0 commit comments

Comments
 (0)