[英]Getting test cases skipped in CHelper plugin for IntelliJ Idea
我正在為 IntelliJ Idea 使用 CHelper 插件。 每次我編寫代碼並編譯它時,我都會得到 output ,例如:
測試#0:跳過
測試#1:跳過
測試#2:跳過
測試#3:
輸入:
10 4
40 10 20 70 80 10 20 70 80 60預期 output:
40
執行結果:
70判決: 0.000 秒內的錯誤答案(令牌#0 的差異)。
-------------------------------------------------- ----------------
試驗結果:
進程以退出代碼 0 結束
這里測試#4 的 output 是錯誤的。 但如果 output 對於所有測試用例都正確,則顯示以下 output:
測試#0:輸入:5 3 10 30 40 50 20
預期 output:30
執行結果:30
判決:在 0.000 秒內確定。
測試#1:輸入:3 1 10 20 10
預計 output:20
執行結果:20
判決:在 0.001 秒內確定。
測試#2:輸入:2 100 10 10
預期 output: 0
執行結果:0
判決:在 0.000 秒內確定。
測試#3:輸入:10 4 40 10 20 70 80 10 20 70 80 60
預期 output:70 執行結果:70
判決:在 0.000 秒內確定。
-------------------------------------------------- ----------------
測試結果:所有測試通過輸入 0.001 s。
進程以退出代碼 0 結束
我無法理解為什么要跳過測試用例。 誰能解釋為什么會這樣? 如果是,如何防止測試用例被跳過。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.