Skip to content

Catch2 test for new user type versioning.#5

Merged
DavidAce merged 7 commits intoDavidAce:devfrom
gravanix:master
Feb 24, 2021
Merged

Catch2 test for new user type versioning.#5
DavidAce merged 7 commits intoDavidAce:devfrom
gravanix:master

Conversation

@mpb27
Copy link
Contributor

@mpb27 mpb27 commented Feb 24, 2021

Took the original user type versioning test and updated it to Catch2. Also added vector tests.

The tests indicate that you can increase or decrease the size of the char array in the struct without any issues.

Also when loading V2 struct from V1 data - the struct maintains the default values specified for any not serialized members. :-)

Next, I'd like to test matrices of custom structs. And performance.

@DavidAce DavidAce linked an issue Feb 24, 2021 that may be closed by this pull request
@DavidAce
Copy link
Owner

Awesome! Very nice unit test. Good idea to check the different layouts as well.
I made a symbolic change removing the <iostream> header just to get see how this all works. This should be good to merge when the checks finish.

@DavidAce DavidAce merged commit 86429a2 into DavidAce:dev Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add readDataset() overload that takes hid::h5t.

2 participants