コード例 #1
0
ファイル: SameMatcher.cs プロジェクト: Carbonfrost/f-spec
 public void NotSame(object expected, object actual)
 {
     NotThat(actual, Matchers.BeSameAs(expected));
 }
コード例 #2
0
ファイル: SameMatcher.cs プロジェクト: Carbonfrost/f-spec
 public void NotSame(object expected, object actual, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeSameAs(expected), message, args);
 }
コード例 #3
0
ファイル: SameMatcher.cs プロジェクト: Carbonfrost/f-spec
 public static void SameAs <T>(this IExpectation <T> e, object other, string message, params object[] args) where T : class
 {
     e.Like(Matchers.BeSameAs(other), message, (object[])args);
 }