Befund: Unitys Mono 6.13 rechnet float32-Zwischenwerte doppelt genau (ECMA-335 I.12.1.3). Der erste Editor-Lauf fand 5 von 157 Golden- Abweichungen: Blickrichtung bis 1,6e-3 rad; in mirror_match Runde 7 verliert eine Einheit in Schritt 599 ihr Ziel, und der Kampf dauert 4,8 s länger. Eine Toleranz ist dafür nicht begründbar. Maßnahme: Vec2 rundet jeden Zwischenwert explizit auf float32 (conv.r4). Keine Regeländerung, R1 unverändert. .NET 8: 402/402, Golden 0, Trace byteidentisch zu vorher. Unity-Editor (Release und Debug): 402/402, Golden bitgleich in allen Bereichen, Float-Probe 4000/4000. - CoreIntegrationTests: keine Engine-Referenzen im Kern, Float-Arithmetik wie Godot. - docs/port/U1.5-UNITY.md: Versionen, Lizenz, Pakete, Tests, Golden je Bereich, Float-Befund, Editor-Benchmark, fehlende Build-Module. - docs/port/KNOWN-BEHAVIOR-DIFFERENCES.md mit "Legacy defects retained for parity" (R1) und F1. - Protokolle unter docs/port/logs/u1_5/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
109 lines
No EOL
9.7 KiB
XML
109 lines
No EOL
9.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<test-run id="2" testcasecount="5" result="Failed(Child)" total="5" passed="4" failed="1" inconclusive="0" skipped="0" asserts="0" engine-version="3.5.0.0" clr-version="4.0.30319.42000" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:50Z" duration="34.9977978">
|
|
<test-suite type="TestSuite" id="1000" name="luneraria-unity" fullname="luneraria-unity" runstate="Runnable" testcasecount="5" result="Failed" site="Child" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:50Z" duration="34.997798" total="5" passed="4" failed="1" inconclusive="0" skipped="0" asserts="0">
|
|
<properties>
|
|
<property name="platform" value="EditMode" />
|
|
</properties>
|
|
<failure>
|
|
<message><![CDATA[One or more child tests had errors]]></message>
|
|
</failure>
|
|
<test-suite type="Assembly" id="1007" name="Luneraria.Core.Tests.dll" fullname="/Users/martin/Documents/Projekte/TowerDefense/luneraria-unity/Library/ScriptAssemblies/Luneraria.Core.Tests.dll" runstate="Runnable" testcasecount="5" result="Failed" site="Child" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:50Z" duration="34.995072" total="5" passed="4" failed="1" inconclusive="0" skipped="0" asserts="0">
|
|
<properties>
|
|
<property name="_PID" value="97986" />
|
|
<property name="_APPDOMAIN" value="Unity Child Domain" />
|
|
<property name="platform" value="EditMode" />
|
|
<property name="EditorOnly" value="True" />
|
|
</properties>
|
|
<failure>
|
|
<message><![CDATA[One or more child tests had errors]]></message>
|
|
</failure>
|
|
<test-suite type="TestSuite" id="1008" name="Luneraria" fullname="Luneraria" runstate="Runnable" testcasecount="5" result="Failed" site="Child" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:50Z" duration="34.994810" total="5" passed="4" failed="1" inconclusive="0" skipped="0" asserts="0">
|
|
<properties />
|
|
<failure>
|
|
<message><![CDATA[One or more child tests had errors]]></message>
|
|
</failure>
|
|
<test-suite type="TestSuite" id="1009" name="Core" fullname="Luneraria.Core" runstate="Runnable" testcasecount="5" result="Failed" site="Child" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:50Z" duration="34.994617" total="5" passed="4" failed="1" inconclusive="0" skipped="0" asserts="0">
|
|
<properties />
|
|
<failure>
|
|
<message><![CDATA[One or more child tests had errors]]></message>
|
|
</failure>
|
|
<test-suite type="TestSuite" id="1010" name="Tests" fullname="Luneraria.Core.Tests" runstate="Runnable" testcasecount="5" result="Failed" site="Child" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:50Z" duration="34.994494" total="5" passed="4" failed="1" inconclusive="0" skipped="0" asserts="0">
|
|
<properties />
|
|
<failure>
|
|
<message><![CDATA[One or more child tests had errors]]></message>
|
|
</failure>
|
|
<test-suite type="TestFixture" id="1001" name="CoreSuiteTests" fullname="Luneraria.Core.Tests.CoreSuiteTests" classname="Luneraria.Core.Tests.CoreSuiteTests" runstate="Runnable" testcasecount="5" result="Failed" site="Child" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:50Z" duration="34.994043" total="5" passed="4" failed="1" inconclusive="0" skipped="0" asserts="0">
|
|
<properties />
|
|
<failure>
|
|
<message><![CDATA[One or more child tests had errors]]></message>
|
|
</failure>
|
|
<test-case id="1002" name="Content" fullname="Luneraria.Core.Tests.CoreSuiteTests.Content" methodname="Content" classname="Luneraria.Core.Tests.CoreSuiteTests" runstate="Runnable" seed="111191816" result="Passed" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:15Z" duration="0.015098" asserts="0">
|
|
<properties>
|
|
<property name="retryIteration" value="0" />
|
|
<property name="repeatIteration" value="0" />
|
|
</properties>
|
|
<output><![CDATA[content: map geometry: largest deviation lanes 2.38E-007 m, buildings 4.77E-007 m
|
|
LUNE_U1_PASS content: 75 checks
|
|
]]></output>
|
|
</test-case>
|
|
<test-case id="1003" name="CoreRules" fullname="Luneraria.Core.Tests.CoreSuiteTests.CoreRules" methodname="CoreRules" classname="Luneraria.Core.Tests.CoreSuiteTests" runstate="Runnable" seed="40849976" result="Passed" start-time="2026-09-30 12:59:15Z" end-time="2026-09-30 12:59:21Z" duration="6.027462" asserts="0">
|
|
<properties>
|
|
<property name="retryIteration" value="0" />
|
|
<property name="repeatIteration" value="0" />
|
|
</properties>
|
|
<output><![CDATA[core: full match seed 2 -> Rot after 9 rounds
|
|
LUNE_U1_PASS core: 91 checks
|
|
]]></output>
|
|
</test-case>
|
|
<test-case id="1006" name="Determinism" fullname="Luneraria.Core.Tests.CoreSuiteTests.Determinism" methodname="Determinism" classname="Luneraria.Core.Tests.CoreSuiteTests" runstate="Runnable" seed="1859955315" result="Passed" start-time="2026-09-30 12:59:21Z" end-time="2026-09-30 12:59:34Z" duration="12.940927" asserts="0">
|
|
<properties>
|
|
<property name="retryIteration" value="0" />
|
|
<property name="repeatIteration" value="0" />
|
|
</properties>
|
|
<output><![CDATA[LUNE_U1_PASS determinism: 6 checks
|
|
]]></output>
|
|
</test-case>
|
|
<test-case id="1005" name="GoldenReplays" fullname="Luneraria.Core.Tests.CoreSuiteTests.GoldenReplays" methodname="GoldenReplays" classname="Luneraria.Core.Tests.CoreSuiteTests" runstate="Runnable" seed="730703542" result="Failed" start-time="2026-09-30 12:59:34Z" end-time="2026-09-30 12:59:46Z" duration="12.789940" asserts="0">
|
|
<properties>
|
|
<property name="retryIteration" value="0" />
|
|
<property name="repeatIteration" value="0" />
|
|
</properties>
|
|
<failure>
|
|
<message><![CDATA[ golden: 5 of 157 checks failed:
|
|
start_three_lanes/t10 matches the reference: 2 differences, first start_three_lanes/t10.units[24].facing: -2.6070052055054567 != -2.6071097178186844; start_three_lanes/t10.units[34].facing: -2.4384854854339713 != -2.4385906864245261
|
|
lane_both_lost/t35 matches the reference: 1 differences, first lane_both_lost/t35.units[51].facing: -2.8382127357503126 != -2.8366296090873324
|
|
base_tower_attack/t60 matches the reference: 9 differences, first base_tower_attack/t60.units[51].facing: 1.0954627482212007 != 1.0953530182545019; base_tower_attack/t60.units[55].facing: -1.0891326492400351 != -1.0887991999366897; base_tower_attack/t60.units[56].facing: 0.5319417397763887 != 0.53233263053947077; base_tower_attack/t60.units[67].facing: -2.2503556254237411 != -2.2504860385481114; base_tower_attack/t60.units[68].facing: 0.0780826827080778 != 0.077864236016386923; base_tower_attack/t60.units[70].facing: -0.84185613482246946 != -0.8419896675080818
|
|
high_wave_21/t20 matches the reference: 11 differences, first high_wave_21/t20.units[23].facing: 2.9956776579508659 != 2.9960910527577864; high_wave_21/t20.units[38].facing: -1.6293439029496979 != -1.6294478415940268; high_wave_21/t20.units[59].facing: -2.0190497705634844 != -2.0183726431543283; high_wave_21/t20.units[66].facing: 1.9772627599430772 != 1.9770986419132592; high_wave_21/t20.units[73].facing: 3.0356781914552555 != 3.035564912488784; high_wave_21/t20.units[89].facing: 0.90109536561446257 != 0.902272000756982
|
|
mirror_match/round-7 matches the reference: 3 differences, first mirror_match/round-7.settlement.combat_time: 41.299999999999791 != 46.099999999999518; mirror_match/round-7.combat.steps: 826 != 922; mirror_match/round-7.combat.elapsed: 41.299999999999791 != 46.099999999999518
|
|
Expected: True
|
|
But was: False
|
|
]]></message>
|
|
<stack-trace><![CDATA[at Luneraria.Core.Tests.CoreSuiteTests.RunSuite (Luneraria.Core.Tests.CheckSuite suite) [0x00057] in /Users/martin/Documents/Projekte/TowerDefense/luneraria-unity/Assets/Luneraria/Tests/Core/Unity/CoreSuiteTests.cs:21
|
|
at Luneraria.Core.Tests.CoreSuiteTests.GoldenReplays () [0x00000] in /Users/martin/Documents/Projekte/TowerDefense/luneraria-unity/Assets/Luneraria/Tests/Core/Unity/CoreSuiteTests.cs:28
|
|
]]></stack-trace>
|
|
</failure>
|
|
<output><![CDATA[golden: golden values compared: 51221
|
|
golden: largest deviation angle: 1.58E-003 over 1140 values (tolerance 1E-004)
|
|
golden: largest deviation effect: 0.00E+000 over 264 values (tolerance 1E-006)
|
|
golden: largest deviation hp: 0.00E+000 over 5679 values (tolerance 1E-002)
|
|
golden: largest deviation other: 0.00E+000 over 34 values (tolerance 1E-006)
|
|
golden: largest deviation position: 2.17E-004 over 3420 values (tolerance 1E-003)
|
|
golden: largest deviation time: 4.80E+000 over 780 values (tolerance 1E-006)
|
|
]]></output>
|
|
</test-case>
|
|
<test-case id="1004" name="M2Rules" fullname="Luneraria.Core.Tests.CoreSuiteTests.M2Rules" methodname="M2Rules" classname="Luneraria.Core.Tests.CoreSuiteTests" runstate="Runnable" seed="1813700727" result="Passed" start-time="2026-09-30 12:59:46Z" end-time="2026-09-30 12:59:50Z" duration="3.215444" asserts="0">
|
|
<properties>
|
|
<property name="retryIteration" value="0" />
|
|
<property name="repeatIteration" value="0" />
|
|
</properties>
|
|
<output><![CDATA[LUNE_U1_PASS m2: 73 checks
|
|
Saving results to: /Users/martin/Library/Application Support/DefaultCompany/luneraria-unity/TestResults.xml
|
|
]]></output>
|
|
</test-case>
|
|
</test-suite>
|
|
</test-suite>
|
|
</test-suite>
|
|
</test-suite>
|
|
</test-suite>
|
|
</test-suite>
|
|
</test-run> |