-
Notifications
You must be signed in to change notification settings - Fork 23
1012 bug in getting testparameters in specific test derived from generictest #1013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DavidKerkmann
merged 26 commits into
main
from
1012-bug-in-getting-testparameters-in-specific-test-derived-from-generictest
Jul 20, 2024
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
7f66ca4
Change TestType to enum class and create TestData struct to extract T…
khoanguyen-dev c35e436
Add test to get default TestParameters
khoanguyen-dev fbad78f
Modify TestingScheme in Pycode to include TestParameters instead of T…
khoanguyen-dev f467d9e
Modify TestingScheme in Pycode to include TestParameters instead of T…
khoanguyen-dev 46b12b6
Put TestType to another file and small improvement for the tests
khoanguyen-dev fbeb1ee
Change Pycode test_abm to call world.parameters instead of abm.parame…
khoanguyen-dev e40251a
Small modifications according to Rene's comments
khoanguyen-dev 09de0aa
Change from using world.parameters to use abm.TestParameters in test_…
khoanguyen-dev a8dd034
Change from using world.parameters to use abm.TestParameters in test_…
khoanguyen-dev ef63427
Some change to blind TestParameters to world.parameters
khoanguyen-dev 2bf21c7
Try to fix pybinds of custom_index_array for non-double types.
DavidKerkmann e21de5b
Add a test for draw_infection_course_forward() to pass the coverage test
DavidKerkmann 2df1438
Merge remote-tracking branch 'refs/remotes/origin/1012-bug-in-getting…
khoanguyen-dev 684e55b
Try fix #2
DavidKerkmann 8dcc843
Merge branch '1012-bug-in-getting-testparameters-in-specific-test-der…
DavidKerkmann 115e897
Try seconds fix for pybinds
DavidKerkmann 60db2ad
Add a test for draw_infection_course_forward() to pass the coverage test
DavidKerkmann d28fd2c
Merge branch '1012-bug-in-getting-testparameters-in-specific-test-der…
DavidKerkmann 7c5c0ea
Fix error in added test
khoanguyen-dev d88d3a4
Merge branch 'main' into 1012-bug-in-getting-testparameters-in-specif…
khoanguyen-dev 747b31b
Try fix for python bindings
DavidKerkmann c837eb9
Add serialize and deserialize for TestParameters
DavidKerkmann 3f7e974
small cleanup
DavidKerkmann 85b6a2b
Apply suggestions from code review
DavidKerkmann ab37669
Merge main
DavidKerkmann a02e583
Fix small errors from previous update of main
DavidKerkmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| /* | ||
| * Copyright (C) 2020-2024 MEmilio | ||
| * | ||
| * Authors: Khoa Nguyen | ||
| * | ||
| * Contact: Martin J. Kuehn <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| #ifndef MIO_ABM_TEST_TYPE_H | ||
| #define MIO_ABM_TEST_TYPE_H | ||
|
|
||
| #include <cstdint> | ||
|
|
||
| namespace mio | ||
| { | ||
| namespace abm | ||
| { | ||
|
|
||
| /** | ||
| * @brief Type of a Test. | ||
| */ | ||
| enum class TestType : std::uint32_t | ||
| { | ||
| Generic = 0, | ||
| Antigen, | ||
| PCR, | ||
|
|
||
| Count | ||
| }; | ||
|
|
||
| } // namespace abm | ||
| } // namespace mio | ||
|
|
||
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.