Goop while suffering through leetcode things

This commit is contained in:
2023-10-19 11:23:24 -04:00
parent 087355502d
commit 8434bf7025
4 changed files with 225 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import pytest
import stuff
@pytest.mark.parametrize(
("n", "expected"),
[
(0, 0),
(1, 1),
(5, 2),
(4, 2),
(8, 2),
(9, 3),
],
)
def test_find_sqrt_ish(n: int, expected: int):
assert stuff.find_sqrt_ish(n) == expected