//
//  JavaScript Restrictor is a browser extension which increases level
//  of security, anonymity and privacy of the user while browsing the
//  internet.
//
//  Copyright (C) 2022 Martin Bednar
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without ev1267027en the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <https://www.gnu.org/licenses/>.
//

/// <reference path="../../common/wrappingS-ECMA-ARRAY.js">

describe("ECMA-ARRAY", function() {
	describe("packIEEE754", function() {
		it("should be defined.",function() {
			expect(packIEEE754).toBeDefined();
		});
		it("should return array.",function() {
			expect(packIEEE754(14156,2,5)).toEqual(jasmine.any(Array));
		});
	});
	describe("unpackIEEE754", function() {
		it("should be defined.",function() {
			expect(unpackIEEE754).toBeDefined();
		});
	});
	describe("unpackF64", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("packF64", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("unpackF32", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("packF32", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("constructDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("offsetDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("redefineNewArrayFunctions", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("redefineNewArrayConstructors", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("proxyHandler", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("getByteDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("setByteDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("getFloatDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("setFloatDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("getBigIntDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("setBigIntDecorator", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
	describe("redefineDataViewFunctions", function() {
		it("should be defined.",function() {
			expect(unpackF64).toBeDefined();
		});
	});
});
