Files
divkit/test_data/expression_test_data/operations_comparison_datetime.json
pkurchatov 73a8f1c928 Expression test data cleanup
658a28873c844cb1158bf510b2d3ffaa22d4d42d
2024-06-11 20:43:38 +03:00

149 lines
2.7 KiB
JSON

{
"cases": [
{
"expression": "@{parseUnixTime(0) < parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": false
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(0) < parseUnixTime(100)}",
"expected": {
"type": "boolean",
"value": true
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(100) < parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": false
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(0) <= parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": true
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(0) <= parseUnixTime(100)}",
"expected": {
"type": "boolean",
"value": true
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(100) <= parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": false
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(0) > parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": false
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(0) > parseUnixTime(100)}",
"expected": {
"type": "boolean",
"value": false
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(100) > parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": true
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(0) >= parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": true
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(0) >= parseUnixTime(100)}",
"expected": {
"type": "boolean",
"value": false
},
"platforms": [
"android",
"ios",
"web"
]
},
{
"expression": "@{parseUnixTime(100) >= parseUnixTime(0)}",
"expected": {
"type": "boolean",
"value": true
},
"platforms": [
"android",
"ios",
"web"
]
}
]
}