Exemple #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 );
		}
Exemple #2
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 );
 }