Adds getAugmentationPrice() and getAugmentationReqRep() Netscript Singularity functions. Deprecates getAugmentationCost() Netscript singularity function.

This commit is contained in:
vmesecher
2021-09-07 20:33:34 -07:00
parent 1c9542d102
commit 6979082be7
10 changed files with 91 additions and 16 deletions

View File

@@ -812,13 +812,23 @@ describe("Netscript Dynamic RAM Calculation/Generation Tests", function () {
await testNonzeroDynamicRamCost(f);
});
it("getAugmentationCost()", async function () {
const f = ["getAugmentationCost"];
await testNonzeroDynamicRamCost(f);
});
it("getAugmentationPrereq()", async function () {
const f = ["getAugmentationPrereq"];
await testNonzeroDynamicRamCost(f);
});
it("getAugmentationCost()", async function () {
const f = ["getAugmentationCost"];
it("getAugmentationPrice()", async function () {
const f = ["getAugmentationPrice"];
await testNonzeroDynamicRamCost(f);
});
it("getAugmentationRepReq()", async function () {
const f = ["getAugmentationRepReq"];
await testNonzeroDynamicRamCost(f);
});