Added tests for non-congruous arrays.
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
5,
|
||||
7
|
||||
],
|
||||
"array_lower_with_array": [
|
||||
3,
|
||||
5,
|
||||
[
|
||||
7
|
||||
]
|
||||
],
|
||||
"copy_array_lower": [
|
||||
3,
|
||||
5,
|
||||
@@ -20,6 +27,11 @@
|
||||
8,
|
||||
9
|
||||
],
|
||||
"array_higher_longer": [
|
||||
8,
|
||||
9,
|
||||
1
|
||||
],
|
||||
"some_obj": {
|
||||
"name": "cat"
|
||||
},
|
||||
|
||||
@@ -33,3 +33,6 @@ beta is {beta}{~n}
|
||||
{@gte key=array_of_some_obj value=array_of_some_obj}array_of_some_obj is greater than or equal to array_of_some_obj{:else}array_of_some_obj is less than array_of_some_obj{/gte}{~n}
|
||||
{@gte key=array_of_some_obj value=copy_array_of_some_obj}array_of_some_obj is greater than or equal to copy_array_of_some_obj{:else}array_of_some_obj is less than copy_array_of_some_obj{/gte}{~n}
|
||||
{@gte key=array_of_some_obj value=array_of_other_obj}array_of_some_obj is greater than or equal to array_of_other_obj{:else}array_of_some_obj is less than array_of_other_obj{/gte}{~n}
|
||||
{@gte key=array_higher value=array_higher_longer}array_higher is greater than or equal to array_higher_longer{:else}array_higher is less than array_higher_longer{/gte}{~n}
|
||||
{@gte key=array_lower value=array_lower_with_array}array_lower is greater than or equal to array_lower_with_array{:else}array_lower is less than array_lower_with_array{/gte}{~n}
|
||||
{@gte key=array_lower_with_array value=array_lower}array_lower_with_array is greater than or equal to array_lower{:else}array_lower_with_array is less than array_lower{/gte}{~n}
|
||||
|
||||
Reference in New Issue
Block a user