共用方式為


ConstraintFactory.GreaterThan(Object) 方法

定義

傳回條件約束,此條件約束會測試實際值是否大於 suppled 引數

public NUnit.Framework.Constraints.GreaterThanConstraint GreaterThan(object expected);
member this.GreaterThan : obj -> NUnit.Framework.Constraints.GreaterThanConstraint

參數

expected
Object

傳回

適用於