Start SPHLite 0.2.1 hardening

This commit is contained in:
Codex
2026-07-02 22:33:21 +08:00
parent 4716eb0151
commit 000209cc7d
12 changed files with 1022 additions and 428 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ int main(void)
ierr = sphlite_get_version(&major, &minor, &patch);
if (ierr != 0) return fail("get_version failed");
if (major != 0 || minor != 2 || patch != 0) return fail("unexpected version");
if (major != 0 || minor != 2 || patch != 1) return fail("unexpected version");
snprintf(path, sizeof(path), "%s/minimal_particles_011.inp", SPHLITE_TEST_DATA_DIR);
ierr = sphlite_read_inp(path);
+1 -1
View File
@@ -11,7 +11,7 @@ int main()
sphlite::Session session;
sphlite::Version version = sphlite::version();
if (version.major != 0 || version.minor != 2 || version.patch != 0) {
if (version.major != 0 || version.minor != 2 || version.patch != 1) {
return 1;
}