netcdf4-wasm
Version:
NetCDF4 library compiled to WebAssembly with TypeScript bindings
13 lines • 634 B
TypeScript
export declare class TestSetup {
private static testDir;
private static fileCounter;
static setupTestEnvironment(): void;
static getTestFilename(suffix?: string): string;
static cleanupTestFile(filename: string): void;
static cleanupTestEnvironment(): void;
static mockWasmModule(): boolean;
static createTestData(shape: number[]): Float64Array;
static createTemperatureData(nlat: number, nlon: number): Float64Array;
static assertArraysAlmostEqual(actual: Float64Array | Float32Array, expected: Float64Array | Float32Array, tolerance?: number): void;
}
//# sourceMappingURL=test-setup.d.ts.map