This commit is contained in:
2025-02-01 23:50:01 +01:00
parent bbc549c3ea
commit 2dab36b36e
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
// See https://www.chaijs.com for how to use Chai.
import { assert } from "chai";
import { ipsBetween } from "./solution";
// TODO Add your tests here
describe("example", function() {
it("test", function() {
assert.equal(ipsBetween("10.0.0.0", "10.0.0.50"), 50, 'ipsBetween("10.0.0.0", "10.0.0.50")');
assert.equal(ipsBetween("20.0.0.10", "20.0.1.0"), 246, 'ipsBetween("20.0.0.10", "20.0.1.0")');
});
});