Giter VIP home page Giter VIP logo

Comments (4)

opatrascoiu avatar opatrascoiu commented on August 22, 2024

On the same topic. The DMN 1.1. standard does not specify the behaviour of contains when one argument or both are null (see Table 60 page 133).

However in our test cases we have

contains(null, null), contains(null,"bar"), contains("bar", null) expected to return null.

If such behaviour is not specified in DMN 1.1. or to be published in DMN 1.2. we should not have test cases without discussing them with DMN RTF.

Am I missing something?

from tck.

etirelli avatar etirelli commented on August 22, 2024

@opatrascoiu regarding your first comment above, you are correct. Would you mind submitting a PR to fix it?

Regarding the second comment, it falls into the broad range of cases of functions called with invalid parameters. They should return null as per the spec and report an error. As we start introducing tests for error cases, this kind of scenario will show up more and more.

from tck.

opatrascoiu avatar opatrascoiu commented on August 22, 2024

@etirelli just created PR to fix type.

from tck.

etirelli avatar etirelli commented on August 22, 2024

Merged.

from tck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.