-
Notifications
You must be signed in to change notification settings - Fork 36
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
DMN 1.5 - extra assertions for the range properties for =
and !=
.
#671
base: master
Are you sure you want to change the base?
Conversation
…anged the structure of the tests to make then less spread out. In effect, each range test asserts on a context of its property values. Keeps stuff together. All the previous test assertions are still here.
=
and !=
. =
and !=
.
=
and !=
. =
and !=
.
@StrayAlien I could see |
Hi @SimonRinguette ... exactly, and now we're seeing some of the weirdness of it. :-). Two ranges? A little more here: #667
If a range can be expressed as a "comparison operator and a single endpoint", then by implication a "comparison operator and a single endpoint" should be able to be expressed as a range? |
@StrayAlien The paragraph that you mentioned talks about syntactic representation (e.g. one object in the AST that contains the operator and the endpoint). The same section contains also references at the end to several tables that describe the semantics of ranges: boolean lambdas. What the spec does not say in examples is the values of range properties for the != range (e.g. I don't think it makes sense to evaluate |
Thanks @opatrascoiu - if that is the case - cool - we should get it into the spec - perhaps the |
From discussion on the meeting: (!=10) should be raised as a ticket to DMN OMG, asking for clarification or modification to the spec. |
@StrayAlien I suggest commenting out test range_012 until the matter is clarified by RTF. The rest of the other tests look good to me. |
I have changed the structure of the tests to make then less spread out. In effect, each range test asserts on a context of its property values. Keeps stuff together. All the previous test assertions are still here.
The values I am asserting on here are:
This is not covered in the spec, so, comments welcome.