Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion maths/arc_length.nim
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ when isMainModule:
check almostEqual(arcLengthDegree(15, 120), 31.41592653589793, UnitsInLastPlace)
test "radius 10, angle 90":
check almostEqual(arcLengthDegree(10, 90), 15.70796326794897, UnitsInLastPlace)

suite "Arc Length":
test "radius 5, angle 45":
check almostEqual(arcLengthRadian(5, degToRad(45.0)), 3.926990816987241,
Expand Down