v/vlib/encoding/utf8/utf8_util_test.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 æ"
}