Feature Request: Is.Negative, Is.Positive
Bug #898192 reported by
Daniel Hampe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Fix Released
|
High
|
Charlie Poole | ||
NUnit V2 |
Fix Released
|
Low
|
Charlie Poole |
Bug Description
Hi there,
it would be really nice, if NUnit would provide two Syntax Helpers for checking whether a number is positive or negative (e.g. to have Is.Positive or Is.Negative). This would improve readability :-)
Regards
Daniel
Changed in nunitv2: | |
importance: | Undecided → Low |
milestone: | none → 2.6.0 |
assignee: | nobody → Charlie Poole (charlie.poole) |
Changed in nunitv2: | |
status: | New → Triaged |
Changed in nunitv2: | |
status: | Triaged → Fix Committed |
Changed in nunit-3.0: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Charlie Poole (charlie.poole) |
milestone: | none → 2.9.6 |
Changed in nunit-3.0: | |
status: | Triaged → Fix Committed |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
Changed in nunit-3.0: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Would it satisfy you if we simply added the syntax but used GreaterThan and LessThan constraint.
LessThan constraints to implement it? The message would then be from
the GreaterThan/
Charlie