feat(world): establish Guanghu Era five-domain boundaries
This commit is contained in:
parent
1f6134fe63
commit
4b8333e459
38 changed files with 2178 additions and 446 deletions
24
routing/guanghu-era-language-world.test.mjs
Normal file
24
routing/guanghu-era-language-world.test.mjs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import assert from "node:assert/strict";
|
||||
import fs from "node:fs";
|
||||
|
||||
const map = JSON.parse(fs.readFileSync(new URL("./guanghu-era-language-world.json", import.meta.url)));
|
||||
assert.equal(map.map_id, "GUANGHU-ERA-WORLD-MAP-001");
|
||||
assert.equal(map.era.name_zh, "光湖纪元");
|
||||
assert.equal(map.era.only_current_era, true);
|
||||
assert.equal(map.world.kind, "LANGUAGE_WORLD_NOT_A_REALITY_STATE_OR_GOVERNMENT");
|
||||
assert.equal(map.product.name, "HoloLake");
|
||||
assert.equal(map.product.enterprise_four_domains_embedded, false);
|
||||
assert.equal(map.product.user_owns_private_channel_and_data, true);
|
||||
assert.equal(map.bingshuo_custom_hololake.private_kernel, "TCS-iZero∞");
|
||||
assert.equal(JSON.stringify(map).includes("TCS-iZero∞ox"), false);
|
||||
assert.equal(map.domains.enterprise.length, 4);
|
||||
assert.ok(map.domains.enterprise.every((domain) => domain.reality_controller === "GUANGHU_TEAM"));
|
||||
assert.equal(map.domains.enterprise.find((domain) => domain.id === "DOMAIN-ZS").public_access, false);
|
||||
assert.equal(map.domains.private_fifth.enterprise_reality_control, false);
|
||||
assert.equal(map.guanghu_team.may_enter_fifth_domain_without_explicit_authorization, false);
|
||||
assert.equal(map.national_governance_simulation.state, "SEALED_EXECUTION_DISABLED");
|
||||
assert.equal(map.national_governance_simulation.self_activation, false);
|
||||
for (const retired of map.era.retired_names) {
|
||||
assert.notEqual(retired, map.era.name_zh);
|
||||
}
|
||||
console.log("GUANGHU_ERA_LANGUAGE_WORLD_ROUTE_PASS");
|
||||
Loading…
Reference in a new issue