1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
ECHO: 97
ECHO: 97
ECHO: undef
ECHO: undef
WARNING: ord() argument undef is not of type string, in file ord-tests.scad, line 11
ECHO: undef
WARNING: ord() argument inf is not of type string, in file ord-tests.scad, line 12
ECHO: undef
WARNING: ord() argument -inf is not of type string, in file ord-tests.scad, line 13
ECHO: undef
WARNING: ord() argument nan is not of type string, in file ord-tests.scad, line 14
ECHO: undef
WARNING: ord() argument 3.1416 is not of type string, in file ord-tests.scad, line 15
ECHO: undef
WARNING: ord() argument [] is not of type string, in file ord-tests.scad, line 16
ECHO: undef
WARNING: ord() argument [1, 2, 3] is not of type string, in file ord-tests.scad, line 17
ECHO: undef
WARNING: ord() argument ["a", "b"] is not of type string, in file ord-tests.scad, line 18
ECHO: undef
WARNING: ord() argument [1 : 1 : 5] is not of type string, in file ord-tests.scad, line 19
ECHO: undef
WARNING: ord() called with 2 arguments, only 1 argument expected, in file ord-tests.scad, line 20
ECHO: undef
ECHO: [116, 101, 115, 116]
ECHO: "test"
ECHO: text = "abcdefäöüß", codepoints = [97, 98, 99, 100, 101, 102, 228, 246, 252, 223]
ECHO: text = "012345!§$%", codepoints = [48, 49, 50, 51, 52, 53, 33, 167, 36, 37]
ECHO: text = "←↑↓→🙀🂡🃑", codepoints = [8592, 8593, 8595, 8594, 128576, 127137, 127185]
ECHO: text = "😃", codepoints = [128515]
ECHO: equals = true, len_input = 10, len_output = 10
ECHO: equals = true, len_input = 10, len_output = 10
ECHO: equals = true, len_input = 7, len_output = 7
ECHO: equals = true, len_input = 1, len_output = 1
WARNING: ord() argument '' is not valid utf8 string, in file ord-tests.scad, line 46
WARNING: ord() argument '' is not valid utf8 string, in file ord-tests.scad, line 46
WARNING: ord() argument '' is not valid utf8 string, in file ord-tests.scad, line 46
ECHO: [undef, undef, undef]
|