summaryrefslogtreecommitdiff
path: root/gerber
diff options
context:
space:
mode:
Diffstat (limited to 'gerber')
-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 3d560de..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.2569)
- assert_equal(size[1], 1.5000)
+ assert_almost_equal(size[0], 2.256900, 6)
+ assert_almost_equal(size[1], 1.500000, 6)
def test_conversion():
import copy