[英]Assert.IsTrue(false) is passing
Assert.Pass
throws SuccessException
Assert.Pass
抛出SuccessException
http://www.nunit.org/index.php?p=utilityAsserts&r=2.5 http://www.nunit.org/index.php?p=utilityAsserts&r=2.5
and that's why Assert.IsTrue
doesn't execute 这就是
Assert.IsTrue
不执行的原因
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.