mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Make grow formulas faster and more accurate. (#1044)
This commit is contained in:
@@ -477,7 +477,10 @@ describe("Stock Market Tests", function () {
|
||||
const initValue = initialValues[stock.symbol];
|
||||
expect(initValue.price).not.toEqual(stock.price);
|
||||
if (initValue.otlkMag === stock.otlkMag && initValue.b === stock.b) {
|
||||
throw new Error("expected either price or otlkMag to be different");
|
||||
throw new Error(
|
||||
"expected either price or otlkMag to be different: " +
|
||||
`stock: ${stockName} otlkMag: ${stock.otlkMag} b: ${stock.b}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user