Commit 21b07ac9 authored by Thomas Levine's avatar Thomas Levine
Browse files


parent dbf27cb3
import math
import as n
import polar
def test_compose():
rotations = 2
observed = polar.compose_centered_plot((1000,2000,1400,3300), polar.angles(4, rotations), lambda a: a / rotations / (2 * math.pi))
expected = 'PU;PD200,650,200,675,150,650,200,575,300,650,200,775,50,650,199,475;'
n.assert_equal(observed, expected)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment