wangzhengquan
2020-06-16 795d03c9525af48b1d5bbb8b79c3834df891463f
test/test_right_walk3.c
@@ -94,7 +94,7 @@
void test3() {
    std::ifstream fin("test.txt");
    std::ifstream fin("test2.txt");
    char line[1024];
    //std::string line;
    char *targetIdStr;
@@ -106,7 +106,7 @@
    char *targetPointYstr;
//{"x":148,"y":45},{"x":148,"y":539},{"x":769,"y":539},{"x":769,"y":45}
    Record record;
    IndirectAlg indirectAlg((std::initializer_list<Point>){{148, 45}, {148, 539},  {769, 539}, {769, 45} }, 5, {621, 0});
    IndirectAlg indirectAlg((std::initializer_list<Point>){{148, 45}, {148, 539},  {769, 539}, {769, 45} }, 2, {621, 0});
    
    // const char *delim = " ";
    while(fin.getline(line, 1024)) {