Adding failed arc test

This test implements a case where the current arc calculations fail
This commit is contained in:
Seth Hillbrand 2020-07-18 12:22:45 -07:00
parent 854e7a4928
commit 69d75b90b1
1 changed files with 38 additions and 0 deletions

View File

@ -173,6 +173,44 @@ struct ARC_CPA_CASE
};
static const std::vector<ARC_CPA_CASE> arc_cases = {
{
"C(0,0) 114 + 360 degree",
{
{ 0, 0 },
{ -306451, 687368 },
360,
},
0,
{
{ 0, 0 },
{ -306451, 687368 },
{ -306451, 687368 },
360,
113.95929,
113.95929,
752587,
{ { -752587, -752587 }, { 1505174, 1505174 } },
},
},
{
"C(0,0) 180 + 360 degree",
{
{ 0, 0 },
{ -100, 0 },
360,
},
0,
{
{ 0, 0 },
{ -100, 0 },
{ -100, 0 },
360,
180,
180,
100,
{ { -100, -100 }, { 200, 200 } },
},
},
{
"C(0,0) 180 + 90 degree",
{