使用测试用例时报错
Opened this issue · 0 comments
你好,最近我在使用剑指offer 30题时使用以下测试用例时会报错
// @title bao-han-minhan-shu-de-zhan-lcof
// @test(["MinStack","push","push","push","min","pop","top","min"],[[],[-2],[0],[-3],[],[],[],[]]) = [null,null,null,null,-3,null,0,-2]
// @test(["MinStack","push","push","push","min","top","pop","min"],[[],[-2],[0],[-1],[],[],[],[]]) = [null,null,null,null,-2,-1,null,-2]
Error: returnType list not support
at handleReturn (/home/xxx.vscode/extensions/supperchong.algorithm-0.0.6/out/common/util.js:703:11)
at Object.handleArgsType (/home/xxx/.vscode/extensions/supperchong.algorithm-0.0.6/out/common/util.js:716:26)
at /home/xxx/.vscode/extensions/supperchong.algorithm-0.0.6/out/child_process/execTestCode.js:53:38
at Generator.next ()
at fulfilled (/home/xxx/.vscode/extensions/supperchong.algorithm-0.0.6/out/child_process/execTestCode.js:5:58)
而在剑指offer第35题会出现以下错误
// @test([[7,null],[13,0],[11,4],[10,2],[1,0]])=[[7,null],[13,0],[11,4],[10,2],[1,0]]
// @test([[1,1],[2,1]])=[[1,1],[2,1]]
// @test([[3,null],[3,0],[3,null]])=[[3,null],[3,0],[3,null]]
// @test([])=[]
Error: paramType Node not support
at handleParam (/home/zss/.vscode/extensions/supperchong.algorithm-0.0.6/out/common/util.js:619:11)
at Object.handleArgsType (/home/zss/.vscode/extensions/supperchong.algorithm-0.0.6/out/common/util.js:713:29)
at /home/zss/.vscode/extensions/supperchong.algorithm-0.0.6/out/child_process/execTestCode.js:53:38
at Generator.next ()
at fulfilled (/home/zss/.vscode/extensions/supperchong.algorithm-0.0.6/out/child_process/execTestCode.js:5:58)
麻烦您看一下是什么问题?