mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-22 19:07:46 +02:00
Issue #20: fix compass points parsing; refactor.
This commit is contained in:
parent
b443a59c49
commit
6d938a1248
13 changed files with 193 additions and 166 deletions
14
test/test_icons.py
Normal file
14
test/test_icons.py
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue