Remove tests and alternative Python implementations

Ad discussed here:
https://github.com/coding-horror/basic-computer-games/issues/548#issuecomment-1081008471
This commit is contained in:
Martin Thoma
2022-03-29 06:56:06 +02:00
parent 6f9cb1bac2
commit 17a75813b1
32 changed files with 1 additions and 2352 deletions

View File

@@ -1,15 +0,0 @@
import io
from _pytest.monkeypatch import MonkeyPatch
import pytest
from awari import print_with_tab, main
def test_print_with_tab() -> None:
print_with_tab(3, "Hello")
def test_main(monkeypatch: MonkeyPatch) -> None:
monkeypatch.setattr("sys.stdin", io.StringIO("1\n2\n3\n4\n5\n6"))
with pytest.raises(EOFError):
main()