
functions.type.isUndefined.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of histone-acceptance-test-cases
Show all versions of histone-acceptance-test-cases
This artifact stores acceptance test cases for all histone implementations (histone-java, histone-javascript).
The newest version!
[{
"name": "type.isUndefined",
"cases": [{
"input": "a {{undefined.isUndefined()}} b",
"expectedResult": "a true b"
}, {
"input": "a {{null.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{true.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{false.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{\"string\".isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{123.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{123.8.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{.123.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{0.123.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{123E-3.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{-123.8.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{-.123.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{-0.123.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{-123E-3.isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{[1, 2, 3].isUndefined()}} b",
"expectedResult": "a false b"
}, {
"input": "a {{[\"foo\": \"bar\"].isUndefined()}} b",
"expectedResult": "a false b"
}]
}]