summaryrefslogtreecommitdiff
path: root/gerber/tests
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-02-20 14:06:45 -0200
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-02-20 14:06:45 -0200
commit2ea9b8ad97df43f3aa483421596162e88fa7980e (patch)
tree175b2dee53daeaff6bb9654ffc88fb0b177f33c3 /gerber/tests
parent5d764a68908bf905741f91e01c1250b5b64edc52 (diff)
downloadgerbonara-2ea9b8ad97df43f3aa483421596162e88fa7980e.tar.gz
gerbonara-2ea9b8ad97df43f3aa483421596162e88fa7980e.tar.bz2
gerbonara-2ea9b8ad97df43f3aa483421596162e88fa7980e.zip
Fix size test, board is slight out of origin, so size does change now that we properly handle non-zero origins
Diffstat (limited to 'gerber/tests')
-rw-r--r--gerber/tests/test_rs274x.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/tests/test_rs274x.py b/gerber/tests/test_rs274x.py
index 5185fa1..3d560de 100644
--- a/gerber/tests/test_rs274x.py
+++ b/gerber/tests/test_rs274x.py
@@ -23,8 +23,8 @@ def test_comments_parameter():
def test_size_parameter():
top_copper = read(TOP_COPPER_FILE)
size = top_copper.size
- assert_equal(size[0], 2.2869)
- assert_equal(size[1], 1.8064)
+ assert_equal(size[0], 2.2569)
+ assert_equal(size[1], 1.5000)
def test_conversion():
import copy