共用方式為


Is.InRange<T>(T, T) 方法

定義

public static NUnit.Framework.Constraints.RangeConstraint<T> InRange<T> (T from, T to) where T : IComparable<T>;
static member InRange : 'T * 'T -> NUnit.Framework.Constraints.RangeConstraint<'T (requires 'T :> IComparable<'T>)> (requires 'T :> IComparable<'T>)

類型參數

T

參數

from
T
to
T

傳回

適用於