原创 / 游戏

ShenZhen IO - Conditional tests的使用方法

f77e2af2fdcc0c86e63370c840d8bfe7d760d5ee.jpg test 1 - 如果 test 1 失败,则运行 + test 2 (如果 test 1 通过则运行) + 如果 test 1 和 test 2 都通过,则运行 - 如果 test 1 失败,或者 test 1 通过但 test 2 失败,则运行 - test 3 (如果 test 1 失败,或者 test 1 通过但 test 2 失败,则运行) + 以下任一条件成立时运行:test 1 失败但 test 3 通过;test 1 通过、test 2 失败但 test 3 通过;test 1 和 test 2 都通过,test 3 没有运行 - 如果 test 1 和 test 3 都失败,或者 test 1 通过但 test 2 和 test 3 都失败,则运行

test 1 - execute if test 1 failed + test 2 (execute if test 1 passed) + execute if test 1 and test 2 passed - execute if test 1 failed OR test 1 passed and test 2 failed - test 3 (execute if test 1 failed OR test 1 passed and test 2 failed) + execute if test 1 failed and test 3 passed OR test 1 passed, test 2 failed, and test 3 passed OR tests 1 and 2 passed, test 3 not performed - execute if tests 1 and 3 failed OR test 1 passed, test 2 failed, and test 3 failed

写于 2019/06/27 · Krunk Zhou

一起聊聊