GetHashCode() public method

public GetHashCode ( ) : int
return int
Beispiel #1
0
        public void GetHashCodeTest()
        {
            SqlByte TestByte15 = new SqlByte(15);
            SqlByte TestByte216 = new SqlByte(216);

            Assert.Equal(15, TestByte15.GetHashCode());
            Assert.Equal(216, TestByte216.GetHashCode());
        }
Beispiel #2
0
		public void GetHashCodeTest()
		{

			SqlByte TestByte15 = new SqlByte(15);
			SqlByte TestByte216 = new SqlByte(216);
			
			Assert.AreEqual(15, TestByte15.GetHashCode(), "GetHashCode method 1" + Error);
			Assert.AreEqual(216, TestByte216.GetHashCode(), "GetHashCode method 2" + Error);

		}
		public void GetHashCodeTest()
		{

			SqlByte TestByte15 = new SqlByte(15);
			SqlByte TestByte216 = new SqlByte(216);
			
			AssertEquals("GetHashCode method 1" + Error, 15, TestByte15.GetHashCode());
			AssertEquals("GetHashCode method 2" + Error, 216, TestByte216.GetHashCode());

		}