tests/model: comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:50:23 -05:00
1 parent 5f7f6005f6
commit fe7566cbba
37 files changed
+72 -440

No files matched your search

+1 -6
View File
@@ -1,7 +1,4 @@
-- model/rbxmx tests: XML models and places built by rojo 7.7 and lune 0.11 (rbx-dom) decode to the values lune reads
-- from them; our rbxmx output read back by lune equals the original (fixture verdicts); round trips of every reference
-- file and of a tree with every type; XML specifics (BinaryString, CDATA, packed Color3, INF / NAN, unknown property
-- tags kept raw, referents, SharedStrings, floats written exactly); errors and the fuzz pass.
-- model/rbxmx tests: rojo 7.7 / lune 0.11 XML models and places against lune's reading; lune reads ours.
-- Fixtures: tools/fixtures/rbxmx.py.
local T = require("@tests/T")
local Rbxmx = require("@rosetta/model/rbxmx")
@@ -86,7 +83,6 @@ do
t:check(not string.find(flat, "\n <Item", 1, true) and decode(flat) ~= nil, "indent = 0")
end
-- XML specifics
do
local doc = [==[<?xml version="1.0" encoding="utf-8"?>
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" version="4">
@@ -161,7 +157,6 @@ do
t:eq(fb.C.value[1], buffer.readf32(v, 0), "f32 exact")
end
-- sniff, errors
do
local data = Fx.files[2].data
t:eq(Rbxmx.sniff(Bytes.reader(buffer.fromstring(data))), 1, "sniff")