mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-03 20:54:07 +01:00
fix io_num tests
This commit is contained in:
parent
14472cda48
commit
187b15ddd6
@ -29,7 +29,7 @@ static int test_write_num (const char* file_name, const back_end_t backend) {
|
||||
|
||||
// attempt to write 0 as dimensioning variable in an empty file; should FAIL and return TREXIO_INVALID_ARG_2
|
||||
rc = trexio_write_mo_num(file, 0);
|
||||
assert (rc == TREXIO_INVALID_ARG_2);
|
||||
assert (rc == TREXIO_INVALID_NUM);
|
||||
|
||||
// write numerical attribute ao_cartesian as 0
|
||||
rc = trexio_write_ao_cartesian(file, 0);
|
||||
|
@ -29,7 +29,7 @@ static int test_write_num (const char* file_name, const back_end_t backend) {
|
||||
|
||||
// attempt to write 0 as dimensioning variable in an empty file; should FAIL and return TREXIO_INVALID_ARG_2
|
||||
rc = trexio_write_mo_num(file, 0);
|
||||
assert (rc == TREXIO_INVALID_ARG_2);
|
||||
assert (rc == TREXIO_INVALID_NUM);
|
||||
|
||||
// write numerical attribute ao_cartesian as 0
|
||||
rc = trexio_write_ao_cartesian(file, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user