Test cleanup and fixes [c-d]
This commit is contained in:
@ -5,5 +5,7 @@ const sdbm = require('./sdbm.js');
|
||||
test('sdbm is a Function', () => {
|
||||
expect(sdbm).toBeInstanceOf(Function);
|
||||
});
|
||||
t.equal(sdbm('name'), -3521204949, "Hashes the input string into a whole number.");
|
||||
test('Hashes the input string into a whole number.', () => {
|
||||
expect(sdbm('name')).toBe(-3521204949)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user