Source
value llgucwmznmykyfvfdtoexhqedpdjnlmentkjbmkkxtlkqvxfirozlohrtagakrmtiosiaftyqvksmeaacpgsthqvprtxgkazkpueusrldcnidlguhlwynedvlokmhgowfhgvffgoklbunjfgakrnmpejixhbmwfsornmunqyvmlaabhiaiqgtureptxqhhmcbhgphvnqzrsdkujodhmoprswdiofuyqzzagopedlgxuuysucqmzqvctaolygqtxgemol
---
test case Evaluate last() <- 0.1, 0.2
in
history
itemid1
value type ITEM_VALUE_TYPE_FLOAT
data
value0.1
ts 2017-01-10 10 00 00.000000000 +0000
value0.2
ts 2017-01-10 10 00 30.000000000 +0000
time 2017-01-10 10 10 00.000000000 +0000
function last
params''
out
return SUCCEED
value0.2
---
test case Evaluate last(#2) <- 0.1, 0.2
in
history
itemid1
value type ITEM_VALUE_TYPE_FLOAT
data
value0.1
ts 2017-01-10 10 00 00.000000000 +0000
value0.2
ts 2017-01-10 10 00 30.000000000 +0000
time 2017-01-10 10 10 00.000000000 +0000
function last
params'#2'
out
return SUCCEED
value0.1
---
test case Evaluate last() <- 'xyz'
in
history
itemid1
value type ITEM_VALUE_TYPE_STR
data
value xyz
ts 2017-01-10 10 00 00.000000000 +0000
time 2017-01-10 10 10 00.000000000 +0000
function last
params''
out
return SUCCEED
value'xyz'
---
test case Evaluate last() <- '😓...'
in
history
itemid1
value type ITEM_VALUE_TYPE_TEXT
data
value
page 😓
pages20000
ts 2017-01-10 10 00 00.000000000 +0000
time 2017-01-10 10 10 00.000000000 +0000
function last
params''
out
return SUCCEED
value
header''
page 😓
pages20000
footer''
---
test case Evaluate last() <- '123'
in
history
itemid1
value type ITEM_VALUE_TYPE_STR
data
value123
ts 2017-01-10 10 00 00.000000000 +0000
time 2017-01-10 10 10 00.000000000 +0000
function last
params''
out
return SUCCEED
value'123'
---
test case Evaluate last() <- ' a b '
in
history
itemid1
value type ITEM_VALUE_TYPE_STR