Public repository: timo / feel

Reader

An interpreter of FEEL, written in Rust, with integrations for PostgreSQL, WASM, Lua, and Python.

1
[
2
  {
3
    "id": "1110-feel-contains-function:001_2a4d7448c6:feel-contains-function_ErrorCase_001_2a4d7448c6",
4
    "expression": "contains(null,null)",
5
    "expected": null,
6
    "expected_type": "null",
7
    "comparison": "exact",
8
    "deviation": null
9
  },
10
  {
11
    "id": "1110-feel-contains-function:002_d2a1831b5c:feel-contains-function_ErrorCase_002_d2a1831b5c",
12
    "expression": "contains(null,\"bar\")",
13
    "expected": null,
14
    "expected_type": "null",
15
    "comparison": "exact",
16
    "deviation": null
17
  },
18
  {
19
    "id": "1110-feel-contains-function:003_df56e0a1ad:feel-contains-function_ErrorCase_003_df56e0a1ad",
20
    "expression": "contains(\"bar\",null)",
21
    "expected": null,
22
    "expected_type": "null",
23
    "comparison": "exact",
24
    "deviation": null
25
  },
26
  {
27
    "id": "1110-feel-contains-function:004_805503b274:feel-contains-function_004_805503b274",
28
    "expression": "contains(\"foobar\",\"bar\")",
29
    "expected": true,
30
    "expected_type": "boolean",
31
    "comparison": "exact",
32
    "deviation": null
33
  },
34
  {
35
    "id": "1110-feel-contains-function:005_5c1269db16:feel-contains-function_005_5c1269db16",
36
    "expression": "contains(\"foobar\",\"o\")",
37
    "expected": true,
38
    "expected_type": "boolean",
39
    "comparison": "exact",
40
    "deviation": null
41
  },
42
  {
43
    "id": "1110-feel-contains-function:006_babdaf4f36:feel-contains-function_006_babdaf4f36",
44
    "expression": "contains(\"abc\",\"\")",
45
    "expected": true,
46
    "expected_type": "boolean",
47
    "comparison": "exact",
48
    "deviation": null
49
  },
50
  {
51
    "id": "1110-feel-contains-function:007_d24a599180:feel-contains-function_007_d24a599180",
52
    "expression": "contains(\"\",\"ab\")",
53
    "expected": false,
54
    "expected_type": "boolean",
55
    "comparison": "exact",
56
    "deviation": null
57
  },
58
  {
59
    "id": "1110-feel-contains-function:008_cf1311586a:feel-contains-function_008_cf1311586a",
60
    "expression": "contains(\"\",\"\")",
61
    "expected": true,
62
    "expected_type": "boolean",
63
    "comparison": "exact",
64
    "deviation": null
65
  },
66
  {
67
    "id": "1110-feel-contains-function:009_c4b50ad623:feel-contains-function_009_c4b50ad623",
68
    "expression": "contains(string:\"foobar\",match:\"bar\")",
69
    "expected": true,
70
    "expected_type": "boolean",
71
    "comparison": "exact",
72
    "deviation": null
73
  },
74
  {
75
    "id": "1110-feel-contains-function:010_9ae03e0e59:feel-contains-function_010_9ae03e0e59",
76
    "expression": "contains(string:\"foobar\",match:\"b\")",
77
    "expected": true,
78
    "expected_type": "boolean",
79
    "comparison": "exact",
80
    "deviation": null
81
  }
82
]