add test cases

This commit is contained in:
dmh 2013-09-23 14:06:55 -06:00
parent f0dddd75db
commit a4d3f8306c
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,15 @@
netcdf ref_tst_nul3 {
dimensions:
n = 8 ;
variables:
char cdata(n) ;
char c;
// global attributes:
:global = "x\000y" ;
data:
cdata = "abc\000def" ;
c = "";
}

View File

@ -0,0 +1,18 @@
netcdf ref_tst_nul4 {
dimensions:
n = 8 ;
variables:
// char cdata(n) ;
string sdata ;
// char c ;
// global attributes:
// string :global = "x\000y";
data:
// cdata = "abc\000def" ;
sdata = "123\0004" ;
// c = "" ;
}