diff options
author | Alex Kalimulin <aleksandrs.kalimulins@zabbix.com> | 2021-05-06 19:50:05 +0300 |
---|---|---|
committer | Alex Kalimulin <aleksandrs.kalimulins@zabbix.com> | 2021-05-06 19:55:39 +0300 |
commit | 8d7a7dade0fc041099a1d7966944bfd06b66ba39 (patch) | |
tree | 36d175682bd517fc3f9766be7342454c36f97962 /tests | |
parent | c06370d30836629fc5c594b54e07512aa43895c6 (diff) |
........S. [ZBXNEXT-114] refactored range check, dbupgrade patch; tweaked tests, style
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libs/zbxserver/valuemaps.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/libs/zbxserver/valuemaps.yaml b/tests/libs/zbxserver/valuemaps.yaml index d23c46a232e..b4338f5e56b 100644 --- a/tests/libs/zbxserver/valuemaps.yaml +++ b/tests/libs/zbxserver/valuemaps.yaml @@ -245,6 +245,18 @@ out: return: SUCCEED value: "Value <= 3 (1)" --- +test case: scientific ranges +in: + value: -0.22 + type: 0 # ITEM_VALUE_TYPE_FLOAT + valuemaps: + - type: 3 + value: "-3.05E-1--1.1e-2, 1e+4 - 1.002e+5" + newvalue: "Scientific Range" +out: + return: SUCCEED + value: "Scientific Range (-0.22)" +--- test case: complex range in: value: 4 @@ -257,7 +269,7 @@ out: return: SUCCEED value: "Range (4)" --- -test case: complex range2 +test case: complex range 2 in: value: 4 type: 3 # ITEM_VALUE_TYPE_UINT64 |