Issue #20: fix compass points parsing; refactor.

This commit is contained in:
Sergey Vartanov 2020-09-09 23:54:15 +03:00
parent b443a59c49
commit 6d938a1248
13 changed files with 193 additions and 166 deletions

14
test/test_icons.py Normal file
View file

@ -0,0 +1,14 @@
"""
Author: Sergey Vartanov (me@enzet.ru).
"""
from roentgen.flinger import map_
from roentgen.grid import draw_grid
def test_flinger_map():
assert map_(5, 0, 10, 0, 20) == 10
def test_icons():
draw_grid()