Skip to content
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

Extending testing of set_value and get_value #46

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dorchard
Copy link

There is this an idea in computer science about fundamental laws for implementations of 'state' which include things like putting a value into a store and then retrieving it yields the same result, or that putting the same value twice has the same effect as just doing it once.

I think that this could be checked for the intersection of input and output variables in a BMI to ensure that nothing untoward is happening underneath with set_value and get_value. There doesn't seem anything like this in the current bmi-tester. I have had a first pass at it here which seems to compile (but I need to try it on more things first), but would appreciate some discussion (and I don't mind if this gets closed without merge). Does this makes sense? Is it useful?

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.

1 participant