mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Merge pull request #3949 from phyzical/hotfix/test-fixes
MISC: test fixes/md updates
This commit is contained in:
commit
1d1890497f
1
dist/bitburner.d.ts
vendored
1
dist/bitburner.d.ts
vendored
@ -6757,6 +6757,7 @@ export declare interface TIX {
|
|||||||
/**
|
/**
|
||||||
* Short stocks.
|
* Short stocks.
|
||||||
* @remarks
|
* @remarks
|
||||||
|
* @deprecated use sellShort
|
||||||
* RAM cost: 2.5 GB
|
* RAM cost: 2.5 GB
|
||||||
* Attempts to purchase a short position of a stock using a Market Order.
|
* Attempts to purchase a short position of a stock using a Market Order.
|
||||||
*
|
*
|
||||||
|
@ -17,7 +17,6 @@ export interface Singularity
|
|||||||
This API requires Source-File 4 to use. The RAM cost of all these functions is multiplied by 16/4/1 based on Source-File 4 levels.
|
This API requires Source-File 4 to use. The RAM cost of all these functions is multiplied by 16/4/1 based on Source-File 4 levels.
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
| Method | Description |
|
| Method | Description |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| [applyToCompany(companyName, field)](./bitburner.singularity.applytocompany.md) | Apply for a job at a company. |
|
| [applyToCompany(companyName, field)](./bitburner.singularity.applytocompany.md) | Apply for a job at a company. |
|
||||||
|
@ -633,11 +633,6 @@ describe("Netscript Dynamic RAM Calculation/Generation Tests", function () {
|
|||||||
await testNonzeroDynamicRamCost(f);
|
await testNonzeroDynamicRamCost(f);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("stock.short()", async function () {
|
|
||||||
const f = ["stock", "short"];
|
|
||||||
await testNonzeroDynamicRamCost(f);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("stock.sellShort()", async function () {
|
it("stock.sellShort()", async function () {
|
||||||
const f = ["stock", "sellShort"];
|
const f = ["stock", "sellShort"];
|
||||||
await testNonzeroDynamicRamCost(f);
|
await testNonzeroDynamicRamCost(f);
|
||||||
@ -705,11 +700,6 @@ describe("Netscript Dynamic RAM Calculation/Generation Tests", function () {
|
|||||||
await testNonzeroDynamicRamCost(f);
|
await testNonzeroDynamicRamCost(f);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("getStats()", async function () {
|
|
||||||
const f = ["singularity", "getStats"];
|
|
||||||
await testNonzeroDynamicRamCost(f);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("getDarkwebProgramCost()", async function () {
|
it("getDarkwebProgramCost()", async function () {
|
||||||
const f = ["singularity", "getDarkwebProgramCost"];
|
const f = ["singularity", "getDarkwebProgramCost"];
|
||||||
await testNonzeroDynamicRamCost(f);
|
await testNonzeroDynamicRamCost(f);
|
||||||
@ -720,11 +710,6 @@ describe("Netscript Dynamic RAM Calculation/Generation Tests", function () {
|
|||||||
await testNonzeroDynamicRamCost(f);
|
await testNonzeroDynamicRamCost(f);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("getCharacterInformation()", async function () {
|
|
||||||
const f = ["singularity", "getCharacterInformation"];
|
|
||||||
await testNonzeroDynamicRamCost(f);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("isBusy()", async function () {
|
it("isBusy()", async function () {
|
||||||
const f = ["singularity", "isBusy"];
|
const f = ["singularity", "isBusy"];
|
||||||
await testNonzeroDynamicRamCost(f);
|
await testNonzeroDynamicRamCost(f);
|
||||||
|
@ -601,11 +601,6 @@ describe("Netscript Static RAM Calculation/Generation Tests", function () {
|
|||||||
await expectNonZeroRamCost(f);
|
await expectNonZeroRamCost(f);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("stock.short()", async function () {
|
|
||||||
const f = ["stock", "short"];
|
|
||||||
await expectNonZeroRamCost(f);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("stock.sellShort()", async function () {
|
it("stock.sellShort()", async function () {
|
||||||
const f = ["stock", "sellShort"];
|
const f = ["stock", "sellShort"];
|
||||||
await expectNonZeroRamCost(f);
|
await expectNonZeroRamCost(f);
|
||||||
@ -673,16 +668,6 @@ describe("Netscript Static RAM Calculation/Generation Tests", function () {
|
|||||||
await expectNonZeroRamCost(f);
|
await expectNonZeroRamCost(f);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("getStats()", async function () {
|
|
||||||
const f = ["getStats"];
|
|
||||||
await expectNonZeroRamCost(f);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("getCharacterInformation()", async function () {
|
|
||||||
const f = ["getCharacterInformation"];
|
|
||||||
await expectNonZeroRamCost(f);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("isBusy()", async function () {
|
it("isBusy()", async function () {
|
||||||
const f = ["isBusy"];
|
const f = ["isBusy"];
|
||||||
await expectNonZeroRamCost(f);
|
await expectNonZeroRamCost(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user