summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/tests/panelize/test_utility.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-10-07 11:13:12 +0200
committerjaseg <git@jaseg.de>2021-10-07 11:13:12 +0200
commit4565712869ef4269d62de593a245ca8d001c4ea9 (patch)
tree32a8a2245e11c8dfad9bbd486ab7678a32b969c1 /gerbonara/gerber/tests/panelize/test_utility.py
parentdd8944709c5a48ccb52ba41a2310218770eb1669 (diff)
downloadgerbonara-4565712869ef4269d62de593a245ca8d001c4ea9.tar.gz
gerbonara-4565712869ef4269d62de593a245ca8d001c4ea9.tar.bz2
gerbonara-4565712869ef4269d62de593a245ca8d001c4ea9.zip
WIP
Diffstat (limited to 'gerbonara/gerber/tests/panelize/test_utility.py')
-rw-r--r--gerbonara/gerber/tests/panelize/test_utility.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/gerbonara/gerber/tests/panelize/test_utility.py b/gerbonara/gerber/tests/panelize/test_utility.py
index b32af8b..f632d90 100644
--- a/gerbonara/gerber/tests/panelize/test_utility.py
+++ b/gerbonara/gerber/tests/panelize/test_utility.py
@@ -9,21 +9,6 @@ from ...panelize.utility import *
from math import sqrt
class TestUtility(unittest.TestCase):
- def test_rotate(self):
- x0, y0 = (10, 0)
-
- x1, y1 = rotate(x0, y0, 60, (0, 0))
- self.assertAlmostEqual(x1, 5)
- self.assertAlmostEqual(y1, 10 * sqrt(3) / 2)
-
- x1, y1 = rotate(x0, y0, 180, (5, 0))
- self.assertAlmostEqual(x1, 0)
- self.assertAlmostEqual(y1, 0)
-
- x1, y1 = rotate(x0, y0, -90, (10, 5))
- self.assertAlmostEqual(x1, 5)
- self.assertAlmostEqual(y1, 5)
-
def test_is_equal_value(self):
a = 10.0001
b = 10.01