Commit Graph

18 Commits

Author SHA1 Message Date
2f753c6ea0 test(tests/meshIO): added basic test suite for meshIO
just tests the constuctor, getMesh, and isLoaded method. This confirms that a basic spherical mesh can be loaded in correctly
2025-02-16 15:10:13 -05:00
ba98ff5b34 test(opatIO/tests): updated test file to be written by utils/opatio 2025-02-16 12:14:41 -05:00
6b777b220a test(opatIO): added extensive test suite for opatIO 2025-02-15 07:28:18 -05:00
3c969c6b39 test(opatIO): added tests for opatIO 2025-02-14 14:31:30 -05:00
18ce7bf6de perf(const): const changed to a singelton
const needds to be accessed all throughout so it has been changed to a singleton to allow for more efficient usage

BREAKING CHANGE: Any previous loads to const will break, also constant->Constant and constants->Constants
2025-02-12 12:53:50 -05:00
98f4474786 feat(const): added << operator to constant so that constants
also added tests for the stream operator
2025-02-12 10:38:22 -05:00
f1124f1a09 build(const): added build system for const module and tests 2025-02-11 18:06:14 -05:00
ba4937cdbd test(tests/const): added const unit tests 2025-02-11 18:02:22 -05:00
c304d002bb feat(dobj): added error tracking to DObject
DObject now includes an error code so that errors can be tracked with return values from functions
2025-02-04 12:55:49 -05:00
f3788f25f6 feat(tests/meson.build): added gtest dep without main function
gtest can provide a main function but something this might conflict if you just want to use the comparison macros. Added a new variable in the meson build system gtest_nomain_dep which brings in the macros but not the main function. This can be linked against without having to worry about main function conflicts.
2025-01-22 06:59:54 -05:00
6183b853f0 fix(dobj_sandbox): removed gtest_main dependency
gtest_main was leading to multiple definitions of main in the sandbox test and was not needed.
2025-01-22 06:57:32 -05:00
3b9cd3726d fix(Metadata): byteSize_ changed from std::size_t to int to avoid implicit type conversion 2025-01-22 06:50:02 -05:00
d331645c88 test(tests/dobj): updated test build system to include lockable DObject and DOBject. 2025-01-20 07:53:10 -05:00
d5467d8864 test(DObjectTest): added unit tests for DObject 2025-01-20 07:51:50 -05:00
4a87aab0a9 test(dobj_sandbox): added some sandbox code for testing dobj 2025-01-20 07:49:35 -05:00
d090ddaabe feat(dobj/LockableDObject): added thread safe implimentation of DObject
In order to build a preformant code code base we may want to make parallized code in which case having a lockable DObject is a useful construct
2025-01-19 11:53:45 -05:00
7d6062b6c1 build(root): added initial meson build system implimentation and mk script
we will use meson as the build system for this project. Added a rough outline of this which builds source, libraries, and links them to tests (along with the google test library for testing). meson will be setup and compiled with ./mk.
2025-01-19 07:38:58 -05:00
b7b849da45 test(tests/dobj/Metadata.cpp): added metadata class tests
added nine simple tests for the metadata class which is part of the dobj modules. These tests will be expanded in the future
2025-01-19 07:37:23 -05:00