summaryrefslogtreecommitdiff
path: root/gerber/tests
diff options
context:
space:
mode:
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..a3d20ed 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_almost_equal(size[0], 2.256900, 6)
+ assert_almost_equal(size[1], 1.500000, 6)
def test_conversion():
import copy