10 lines
217 B
V
10 lines
217 B
V
|
import encoding.utf8
|
||
|
|
||
|
fn test_utf8_util() {
|
||
|
src:="ăĂ ôÔ testo 怔"
|
||
|
upper:=utf8.to_upper(src)
|
||
|
lower:=utf8.to_lower(src)
|
||
|
assert upper=="ĂĂ ÔÔ TESTO Æ€”"
|
||
|
assert lower=="ăă ôô testo 怔"
|
||
|
}
|