chore(test): 迁移测试夹具到新语法
机械规则 R2/R3/R4/R6/R7/R8/R13 + R16 保守子集,共 86 文件 2127 行。R1(T | t.CPtr)与 R12(while 下标循环)未做,仍列为待办。全量 77/77 顺序回归通过。
This commit is contained in:
1 parent
c9d741c202
commit
f5da836fbb
86 files changed
+2121
-2121
No files matched your search
@@ -3,7 +3,7 @@ import testcheck
|
||||
import vectortest
|
||||
|
||||
|
||||
def main() -> t.CInt | t.CExport:
|
||||
def main() -> int | t.CExport:
|
||||
testcheck.begin("VectorGenericTest: Vector 泛型测试")
|
||||
testcheck.section("Vector 泛型")
|
||||
vectortest.vector_main()
|
||||
|
||||
@@ -5,7 +5,7 @@ import stdlib
|
||||
import vector
|
||||
import memhub
|
||||
|
||||
POOL_SIZE: t.CDefine = 4096
|
||||
define POOL_SIZE = 4096
|
||||
|
||||
def vector_main() -> CInt:
|
||||
buf: str = stdlib.malloc(256)
|
||||
|
||||
Reference in new issue
Block a user