public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (!(obj is FloatHandlerTestCase.Item))
     {
         return(false);
     }
     FloatHandlerTestCase.Item other = (FloatHandlerTestCase.Item)obj;
     return((other._float == this._float) && this._floatWrapper.Equals(other._floatWrapper
                                                                       ));
 }
예제 #2
0
		public virtual void TestStoreObject()
		{
			FloatHandlerTestCase.Item storedItem = new FloatHandlerTestCase.Item(1.23456789f, 
				1.23456789f);
			DoTestStoreObject(storedItem);
		}
 public virtual void TestStoreObject()
 {
     FloatHandlerTestCase.Item storedItem = new FloatHandlerTestCase.Item(1.23456789f,
                                                                          1.23456789f);
     DoTestStoreObject(storedItem);
 }