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

Better value number controlling methods #3678

Closed
wants to merge 1 commit into from
Closed

Conversation

ldm0
Copy link
Member

@ldm0 ldm0 commented May 2, 2022

fixes #2688
fixes #3542

@ldm0 ldm0 requested review from epage and pksunkara May 2, 2022 19:40
@ldm0 ldm0 changed the title Better value controlling methods Better value number controlling methods May 2, 2022
@ldm0 ldm0 force-pushed the ldm_values branch 2 times, most recently from f475d9f to cc20c8d Compare May 2, 2022 19:56
@@ -38,9 +38,11 @@ OPTIONS:
--multvalsmo <one> <two> Tests multiple values, and mult occs
-o, --option <opt>... tests options
-O, --option3 <option3> specific vals [possible values: fast, slow]
--optvaleq[=<optval>] Tests optional value, require = sign
Copy link
Member Author

@ldm0 ldm0 May 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a bugfix, since min_value(0) + number_of_values(1) makes --optvaleq without value incorrect, which means the [] should be removed.

@epage
Copy link
Member

epage commented May 2, 2022

Could you please add more context to the commit / PR of what your solution is for those issues, how it solves the linked issues, and any concerns or trade offs you had in designing it?

If this is solving addition problems, please open issues for them so we make sure we get all the relevant context for it.

If it seems like we'll be doing more discussion on the problem itself and what a solution should look like (and not just the implementation), please post those comments in the associated issues. We ask that issues focus on problem/solution discussions and PRs on implementation discussions.

Copy link
Member

@epage epage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my other comment. I'd like more context on the problem and solution before moving forward with reviewing the implementation

@ldm0 ldm0 force-pushed the ldm_values branch 2 times, most recently from c81ae1e to 2faa8cd Compare May 4, 2022 20:27
@ldm0 ldm0 requested a review from epage May 4, 2022 20:53
@ldm0
Copy link
Member Author

ldm0 commented May 4, 2022

@epage Comments added: #2688 (comment)

@epage
Copy link
Member

epage commented May 5, 2022

ldm0 requested a review from epage 5 hours ago

Let's finish the discussion in the issue first.

use range_num_vals(_total) test pass

Add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants