X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/4e463d42f4a4f1cf4b4ed3b7cdb79ca7264e66e2..9c6be9646631101a3883d4dac08495d5e35e9977:/value.test.js diff --git a/value.test.js b/value.test.js index ce6464d..b7dcd69 100644 --- a/value.test.js +++ b/value.test.js @@ -1,11 +1,14 @@ -// β™“πŸŒŸ PiscΔ“s ∷ value.test.js -// ==================================================================== -// -// Copyright Β© 2022–2023 Lady [@ Lady’s Computer]. -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at . +// SPDX-FileCopyrightText: 2022, 2023, 2025 Lady +// SPDX-License-Identifier: MPL-2.0 +/** + * ⁌ β™“πŸŒŸ PiscΔ“s ∷ value.test.js + * + * Copyright Β© 2022–2023, 2025 Lady [@ Ladys Computer]. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at . + */ import { assertEquals, @@ -24,10 +27,10 @@ import { isFullyPopulatedDescriptor, isGenericDescriptor, ITERATOR, - LN10, - LN2, - LOG10ℇ, - LOG2ℇ, + LN_10, + LN_2, + LOG10_𝑒, + LOG2_𝑒, MATCH, MATCH_ALL, MAXIMUM_NUMBER, @@ -41,13 +44,13 @@ import { ordinaryToPrimitive, POSITIVE_INFINITY, POSITIVE_ZERO, - RECIPROCAL_SQRT2, + RECIPROCAL_SQRT_2, REPLACE, sameValue, sameValueZero, SPECIES, SPLIT, - SQRT2, + SQRT_2, TO_PRIMITIVE, TO_STRING_TAG, toFunctionName, @@ -58,9 +61,9 @@ import { type, UNDEFINED, UNSCOPABLES, - Ξ•, - Ξ , - ℇ, + 𝑒, + πœ€, + πœ‹, } from "./value.js"; describe("ASYNC_ITERATOR", () => { @@ -90,27 +93,27 @@ describe("ITERATOR", () => { }); }); -describe("LN10", () => { +describe("LN_10", () => { it("[[Get]] is ln(10)", () => { - assertStrictEquals(LN10, Math.LN10); + assertStrictEquals(LN_10, Math.LN10); }); }); -describe("LN2", () => { +describe("LN_2", () => { it("[[Get]] is ln(2)", () => { - assertStrictEquals(LN2, Math.LN2); + assertStrictEquals(LN_2, Math.LN2); }); }); -describe("LOG10ℇ", () => { - it("[[Get]] is log10(ℇ)", () => { - assertStrictEquals(LOG10ℇ, Math.LOG10E); +describe("LOG10_𝑒", () => { + it("[[Get]] is log10(𝑒)", () => { + assertStrictEquals(LOG10_𝑒, Math.LOG10E); }); }); -describe("LOG2ℇ", () => { +describe("LOG2_𝑒", () => { it("[[Get]] is log2(ℇ)", () => { - assertStrictEquals(LOG2ℇ, Math.LOG2E); + assertStrictEquals(LOG2_𝑒, Math.LOG2E); }); }); @@ -192,9 +195,9 @@ describe("POSITIVE_ZERO", () => { }); }); -describe("RECIPROCAL_SQRT2", () => { +describe("RECIPROCAL_SQRT_2", () => { it("[[Get]] is sqrt(Β½)", () => { - assertStrictEquals(RECIPROCAL_SQRT2, Math.SQRT1_2); + assertStrictEquals(RECIPROCAL_SQRT_2, Math.SQRT1_2); }); }); @@ -216,9 +219,9 @@ describe("SPLIT", () => { }); }); -describe("SQRT2", () => { +describe("SQRT_2", () => { it("[[Get]] is sqrt(2)", () => { - assertStrictEquals(SQRT2, Math.SQRT2); + assertStrictEquals(SQRT_2, Math.SQRT2); }); }); @@ -1071,20 +1074,20 @@ describe("type", () => { }); }); -describe("Ξ•", () => { - it("[[Get]] is Ξ΅", () => { - assertStrictEquals(Ξ•, Number.EPSILON); +describe("𝑒", () => { + it("[[Get]] is 𝑒", () => { + assertStrictEquals(𝑒, Math.E); }); }); -describe("Ξ ", () => { - it("[[Get]] is Ο€", () => { - assertStrictEquals(Ξ , Math.PI); +describe("πœ€", () => { + it("[[Get]] is πœ€", () => { + assertStrictEquals(πœ€, Number.EPSILON); }); }); -describe("ℇ", () => { - it("[[Get]] is ℇ", () => { - assertStrictEquals(ℇ, Math.E); +describe("πœ‹", () => { + it("[[Get]] is πœ‹", () => { + assertStrictEquals(πœ‹, Math.PI); }); });