]> Lady’s Gitweb - Sutra/blob - xsd/productions.test.js
Add all X·S·D non‐auxillary functions
[Sutra] / xsd / productions.test.js
1 // ♓️🪡 सूत्र ∷ xsd/productions.test.js
2 // ====================================================================
3 //
4 // Copyright © 2023 Lady [@ Lady’s Computer].
5 //
6 // This Source Code Form is subject to the terms of the Mozilla Public
7 // License, v. 2.0. If a copy of the MPL was not distributed with this
8 // file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
9
10 import { assert, assertStrictEquals } from "../dev-deps.js";
11 import * as productions from "./productions.js";
12
13 Deno.test("Exports a correctly‐named value for each production", () => {
14 for (const [name, matcher] of Object.entries(productions)) {
15 assert(matcher != null, name);
16 assertStrictEquals(matcher.name, name);
17 }
18 });
This page took 0.05186 seconds and 5 git commands to generate.