Skip to content

Commit

Permalink
Create first passing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
MHenderson committed Mar 18, 2024
1 parent b73faaa commit a92baf1
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 16 deletions.
101 changes: 101 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ readme = "README.md"
python = "^3.10"


[tool.poetry.group.test.dependencies]
pytest = "^8.1.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
16 changes: 0 additions & 16 deletions tests/test.py

This file was deleted.

5 changes: 5 additions & 0 deletions tests/test_latin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import ryser

def test_latin():
a = ryser.Latin({1:1, 12:3}, 9)
assert a.fixed_cells() == {1:1, 12:3}

0 comments on commit a92baf1

Please sign in to comment.