aboutsummaryrefslogtreecommitdiff
path: root/advtrains/textures/advtrains_across.png
blob: da65a61f9c21b6308b5fd48f82dcf9977c269275 (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 00 40 08 06 00 00 00 aa 69 71 .PNG........IHDR...@...@......iq
0020 de 00 00 00 06 62 4b 47 44 00 ff 00 00 00 00 33 27 7c f3 00 00 00 09 70 48 59 73 00 00 0b 13 00 .....bKGD......3'|.....pHYs.....
0040 00 0b 13 01 00 9a 9c 18 00 00 00 07 74 49 4d 45 07 e1 04 1b 0d 18 02 07 99 7e ff 00 00 00 bb 49 ............tIME.........~.....I
0060 44 41 54 78 da ed da 4d 0a c2 40 0c 06 d0 46 3c 52 99 b9 ff 72 8a 77 9a 6e 85 91 2a 6a a5 35 ef DATx...M..@...F<R...r.w.n..*j.5.
0080 83 d9 95 2e 1e e9 4f 42 a2 94 d2 a7 c4 b9 4c c9 03 00 00 00 00 00 00 00 00 00 20 6b ae 9f de a0 ......OB......L............k....
00a0 b5 f6 d2 75 b5 56 15 00 00 00 00 00 00 00 00 00 00 e0 40 89 a3 8d c5 db b2 8c bf d1 a5 a8 00 00 ...u.V............@.............
00c0 00 00 00 00 00 00 40 02 80 de c7 a3 02 00 00 00 00 00 00 00 00 00 be 9f b0 29 9a 3c bb ec 07 3c ......@..................).<...<
00e0 db 05 d8 1a 7c 1a 8a 7a 04 00 00 00 00 00 00 80 ff 06 d8 1a 7c 9e 6e 28 1a 31 1e 15 90 a8 17 f8 ....|..z............|.n(.1......
0100 55 e6 07 3d c2 7d 6e 6f f6 0b 5e 82 00 00 00 00 90 39 a7 19 8a ee f5 19 5c 01 96 78 39 f3 85 67 U..=.}no..^......9......\..x9..g
0120 64 24 00 00 00 00 49 45 4e 44 ae 42 60 82 d$....IEND.B`.
n>("trim()", function() assert.equal("foo bar", string.trim("\n \t\tfoo bar\t ")) end) describe("split()", function() it("removes empty", function() assert.same({ "hello" }, string.split("hello")) assert.same({ "hello", "world" }, string.split("hello,world")) assert.same({ "hello", "world" }, string.split("hello,world,,,")) assert.same({ "hello", "world" }, string.split(",,,hello,world")) assert.same({ "hello", "world", "2" }, string.split("hello,,,world,2")) assert.same({ "hello ", " world" }, string.split("hello :| world", ":|")) end) it("keeps empty", function() assert.same({ "hello" }, string.split("hello", ",", true)) assert.same({ "hello", "world" }, string.split("hello,world", ",", true)) assert.same({ "hello", "world", "" }, string.split("hello,world,", ",", true))