Skip to content

Commit

Permalink
Added simplified unit test case for pathlexer clean of float exponent…
Browse files Browse the repository at this point in the history
…s aka #3807.
  • Loading branch information
pythonorcpp committed May 21, 2021
1 parent a7a95c1 commit caa333c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/auto/test_svg/test_pathlexer_protected.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ BOOST_AUTO_TEST_CASE( pathlexer_clean )
"m0,0x",
"m 0 , 0 x",
"m 0 0\nx\n",
"M0.0,1.0e -8A1.0,1.0 0 0 0 1.0e -8,1.0 1.0,1.0 0 0 0 1.0,1.0 1.0,1.0 0 0 0 1.0,1.0 1.0,1.0 0 0 0 1.0,1.0e -8Z",
"m0,0a 2.6,2.6 0 0 1 5.2,0v5.2a 2.6, 2.6 0 0 1-5.2,0 z "
"m 0.5,3 a 1,\t 1\n 0 0 0 4.2,0v-0.8a 1, 1 0 0 0 -4.2,0z "
};
Expand All @@ -33,6 +34,7 @@ BOOST_AUTO_TEST_CASE( pathlexer_clean )
"m0,0x",
"m0,0x",
"m0 0x",
"M0.0,1.0e-8A1.0,1.0 0 0 0 1.0e-8,1.0 1.0,1.0 0 0 0 1.0,1.0 1.0,1.0 0 0 0 1.0,1.0 1.0,1.0 0 0 0 1.0,1.0e-8Z",
"m0,0a2.6,2.6 0 0 1 5.2,0v5.2a2.6,2.6 0 0 1 -5.2,0z"
"m0.5,3a1,1 0 0 0 4.2,0v-0.8a1,1 0 0 0 -4.2,0z"
};
Expand Down

0 comments on commit caa333c

Please sign in to comment.