mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
IPVGO: Add support for highlighting nodes and adding small text (#1996)
This commit is contained in:
committed by
GitHub
parent
5d486e3914
commit
f6e7ef082c
@@ -3,6 +3,7 @@ import { GoColor, GoOpponent } from "@enums";
|
||||
import { boardFromSimpleBoard, simpleBoardFromBoard } from "../../../src/Go/boardAnalysis/boardAnalysis";
|
||||
import { resetCoordinates, rotate90Degrees } from "../../../src/Go/boardState/offlineNodes";
|
||||
import { bitverseBoardShape } from "../../../src/Go/Constants";
|
||||
import { getEmptyHighlightedPoints } from "../../../src/Go/Go";
|
||||
|
||||
describe("Board analysis utility tests", () => {
|
||||
it("Correctly applies the board size and handicap for 5x5 board", () => {
|
||||
@@ -21,6 +22,7 @@ describe("Board analysis utility tests", () => {
|
||||
cheatCount: 0,
|
||||
cheatCountForWhite: 0,
|
||||
komiOverride: null,
|
||||
highlightedPoints: getEmptyHighlightedPoints(5),
|
||||
});
|
||||
expect(result.board?.length).toEqual(5);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user