use use module test_shape_pie() { echo("==== test_shape_pie ===="); expected = [[0, 0], [7.0711, 7.0711], [5, 8.6603], [2.5882, 9.6593], [0, 10], [-2.5882, 9.6593], [-5, 8.6603], [-7.0711, 7.0711], [-8.6603, 5], [-9.6593, 2.5882], [-10, 0], [-9.6593, -2.5882], [-8.6603, -5], [-7.0711, -7.0711], [-5, -8.6603], [-2.5882, -9.6593], [0, -10], [2.5882, -9.6593], [5, -8.6603], [7.0711, -7.0711]]; actual = shape_pie(10, [45, 315], $fn = 24); assertEqualPoints(expected, actual); } test_shape_pie();