Searched refs:precTests (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/svg/
H A Dsvg-length-test.h143 testd_t const precTests[] = { local
148 for ( size_t i = 0; i < G_N_ELEMENTS(precTests); i++ ) {
151 unsigned int retval = sp_svg_number_write_de( buf, sizeof(buf), precTests[i].val, precTests[i].prec, precTests[i].minexp );
152 TSM_ASSERT_EQUALS("Number of chars written", retval, strlen(precTests[i].str));
153 TSM_ASSERT_EQUALS("Numeric string written", std::string(buf), std::string(precTests[i].str));
154 TSM_ASSERT_EQUALS(std::string("Buffer overrun ") + precTests[i].str, '\xCC', buf[retval + 1]);

Completed in 203 milliseconds