共用方式為


Is.GreaterThan(Object) 方法

定義

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

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

參數

expected
Object

傳回

適用於