1
0
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:
q-posev 2021-09-22 11:41:29 +02:00
parent 14472cda48
commit 187b15ddd6
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);