1
2
3
4
5
6
7
8
9
10
11
12
13
| "use strict";
| var assert = require("assert"),
| hash = require("./");
|
| describe("hash", function() {
| it("should hash \"Mary had a little lamb.\" to 1766333550", function() {
| assert.equal(hash("Mary had a little lamb."), 1766333550);
| });
|
| it("should hash \"Hello, world!\" to 343662184", function() {
| assert.equal(hash("Hello, world!"), 343662184);
| });
| });
|
|