import { NS } from "@ns"; import { ezgame } from "./ezgame"; export const main = (ns: NS) => { const server = ns.getServer("n00dles"); const player = ns.getPlayer(); const testResult = ezgame.formulas.hacking.growTime(server, player); const actualResult = ns.formulas.hacking.growTime(server, player); console.log(testResult); console.log(actualResult); };