mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add numberField parameter for parse testing
This commit is contained in:
parent
19a2c28b1a
commit
d3cc3f371b
1 changed files with 3 additions and 1 deletions
|
@ -308,7 +308,7 @@ void TestParse::testParseNewFormat()
|
|||
* Validate the parsing routine returns success.
|
||||
*/
|
||||
|
||||
char *params[40];
|
||||
char *params[42];
|
||||
int pnr = 0;
|
||||
|
||||
params[pnr++] = strdup("timeField");
|
||||
|
@ -337,6 +337,8 @@ void TestParse::testParseNewFormat()
|
|||
params[pnr++] = intdup(headers.indexOf(tr("Sample pressure")));
|
||||
params[pnr++] = strdup("setpointField");
|
||||
params[pnr++] = intdup(-1);
|
||||
params[pnr++] = strdup("numberField");
|
||||
params[pnr++] = intdup(-1);
|
||||
params[pnr++] = strdup("separatorIndex");
|
||||
params[pnr++] = intdup(2);
|
||||
params[pnr++] = strdup("units");
|
||||
|
|
Loading…
Add table
Reference in a new issue