コード例 #1
0
		public void Test1( MyFixture myfixture, MyFixture2 myfixture2 ) {
			Fest.AssertEqual<string>( myfixture.teststring, "teststring");
			Fest.AssertEqual<string>( myfixture2.teststring, "teststring2" );
			Fest.AssertEqual<int>( 2, 1 + 1 );
			Fest.AssertEqual<object>( new object(), new object() );
			object obj = new object();
			object obj2 = obj;
			Fest.AssertEqual<object>( obj, obj2 );
			Fest.AssertEqual<int>( 2, 1 + 2 );
		}
コード例 #2
0
ファイル: test.cs プロジェクト: modulexcite/fest
 public void Test1( MyFixture myfixture, MyFixture2 myfixture2 )
 {
     Fest.AssertEqual<string>( myfixture.teststring, "teststring");
     Fest.AssertEqual<string>( myfixture2.teststring, "teststring2" );
     Fest.AssertEqual<int>( 2, 1 + 1 );
     Fest.AssertEqual<object>( new object(), new object() );
     object obj = new object();
     object obj2 = obj;
     Fest.AssertEqual<object>( obj, obj2 );
     Fest.AssertEqual<int>( 2, 1 + 2 );
 }