public void GetHash(string key) { //arrange HashTables newtable = new HashTables(); //Act int hash = newtable.GetHash(key); //Assert Assert.Equal(hash, newtable.GetHash(key)); }
public void CanHash(string testValue) { //Arrange HashTables testTable = new HashTables(); //Act int hash = testTable.GetHash(testValue); //Assert Assert.Equal(hash, testTable.GetHash(testValue)); }