v/vlib/builtin/utf8_util_test.v

8 lines
197 B
V
Raw Normal View History

2019-11-29 14:25:25 +01:00
fn test_utf8_util() {
src:="ăĂ ôÔ testo æ"
upper:=src.utf8_to_upper()
lower:=src.utf8_to_lower()
assert upper=="ĂĂ ÔÔ TESTO Æ"
assert lower=="ăă ôô testo æ"
}