challenge ctci-random-note
This commit is contained in:
parent
3b7d0b4574
commit
4ef3e01ab5
5 changed files with 61 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import {describe, it, skip} from 'node:test';
|
|||
import * as assert from "node:assert";
|
||||
import {findHighestHourglassSum} from "./2d-array";
|
||||
import {Matrix} from "./matrix";
|
||||
describe("2D Array", () => {
|
||||
describe("2D Array", () => {
|
||||
describe("findHighestHourglassSum", () => {
|
||||
it("should return 0 if the matrix is empty", () => {
|
||||
assert.equal(findHighestHourglassSum(new Matrix([])), 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue