Source
---
test case'Success: abcd, 4'
in
text'abcd'
len4
out
value abcd
return SUCCEED
---
test case'Success: abcd, 1'
in
text'abcd'
len1
out
value'a'
return SUCCEED
---
test case'Success: abcd, 0'
in
text'abcd'
len0
out
value''
return SUCCEED
---
test case'Success: "abcd", 6'
in
text'"abcd"'
len6
out
value'abcd'
return SUCCEED
---
test case'Success: "ab\\/cd", 9'
in
text'"ab\\/cd"'
len9
out
value'ab\/cd'
return SUCCEED
---
test case'Success: "\\", 4'
in
text'"\\"'
len4
out
value'\'
return SUCCEED
---
test case'Success: "a\"bc\"d", 10'
in
text'"a\"bc\"d"'
len10
out
value'a"bc"d'
return SUCCEED
---
test case'Success: "", 2'
in
text'""'
len2
out
value''