Skip to content

Commit af8bbcb

Browse files
committed
提供更多的测试
1 parent 48d645f commit af8bbcb

File tree

4 files changed

+106
-2
lines changed

4 files changed

+106
-2
lines changed

Test/test_script/format_text/number.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local a = 1231 + 1231.123131 + 0xFFFF + 0.1e-30 + 0.9E-31
2-
+ 1e1 + 1E3
2+
+ 1e1 + 1E3 +0x1.13aP3
33

44
-- luajit
55
local b =1231ULL
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
local t = {
2+
aa,bbb,ccc,ddd,eee,fff
3+
}
4+
local t2 = { 1, 2, 3, 4, 5 }
5+
6+
local t3 = { 123131,
7+
aaa,bbbb,ccc,1,2,3,4,5
8+
}
9+
10+
local t4 = {
11+
aaa = 1,
12+
bbbb = 4456,
13+
["wgfwwfw"] = 890,
14+
[{}] = 131,
15+
[function() end] = 131,
16+
[1231] = 12321
17+
}
18+
19+
local t5 = {
20+
qewqe = 1,
21+
qweqeqeq = 2,
22+
gjpeowgopiwegoje = 3,
23+
gjpiogjejgier = 5,
24+
shgviwhoigw = 6
25+
}
26+
27+
local t6 = {
28+
qfrqfqfq = 1, sjfowjolfw,
29+
sjgvowjigjw = 2,
30+
sfvhwieohgf = 3,
31+
wgnowjgow=4
32+
}
33+
34+
local t7 = {
35+
--hhhh
36+
aaa = 1231,
37+
bbbbb --sgjowjogg
38+
}
39+
40+
local t8 = {
41+
--[[sngkolwgjw]] fjhwofow = 1231,
42+
sfowhfow = 1231,
43+
fgnwogjpw = 6,
44+
45+
}
46+
47+
local t9 = {
48+
jfwejgwojgow--[[wkngowjgw]] = 123131,
49+
joiwejgjwgw = 13131,
50+
fwhoifwjofgjw = 353,
51+
ljeogjeprjgpege = 13131,
52+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local a = 1231 + 1231.123131 + 0xFFFF + 0.1e-30 + 0.9E-31
2-
+ 1e1 + 1E3
2+
+ 1e1 + 1E3 + 0x1.13aP3
33

44
-- luajit
55
local b = 1231ULL
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
local t = {
2+
aa, bbb, ccc, ddd, eee, fff
3+
}
4+
local t2 = { 1, 2, 3, 4, 5 }
5+
6+
local t3 = { 123131,
7+
aaa, bbbb, ccc, 1, 2, 3, 4, 5
8+
}
9+
10+
local t4 = {
11+
aaa = 1,
12+
bbbb = 4456,
13+
["wgfwwfw"] = 890,
14+
[{}] = 131,
15+
[function() end] = 131,
16+
[1231] = 12321
17+
}
18+
19+
local t5 = {
20+
qewqe = 1,
21+
qweqeqeq = 2,
22+
gjpeowgopiwegoje = 3,
23+
gjpiogjejgier = 5,
24+
shgviwhoigw = 6
25+
}
26+
27+
local t6 = {
28+
qfrqfqfq = 1, sjfowjolfw,
29+
sjgvowjigjw = 2,
30+
sfvhwieohgf = 3,
31+
wgnowjgow = 4
32+
}
33+
34+
local t7 = {
35+
--hhhh
36+
aaa = 1231,
37+
bbbbb --sgjowjogg
38+
}
39+
40+
local t8 = {
41+
--[[sngkolwgjw]] fjhwofow = 1231,
42+
sfowhfow = 1231,
43+
fgnwogjpw = 6,
44+
45+
}
46+
47+
local t9 = {
48+
jfwejgwojgow--[[wkngowjgw]] = 123131,
49+
joiwejgjwgw = 13131,
50+
fwhoifwjofgjw = 353,
51+
ljeogjeprjgpege = 13131,
52+
}

0 commit comments

Comments
 (0)