CultLib/packages/cultmath/tests/CultMath.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 2ba0dc17f4 CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture
GlslLowering.SeparateFiles is the one name-keyed rule: CultMath.Phacelle.hlsl
lowers into shaders/CultMath.Phacelle.glsl (MPL-2.0, guard
CULTMATH_PHACELLE_GLSL) and its include line leaves CultMath.glsl, which is
now MIT and says so in its provenance line. ReadShaderSource takes an
include predicate (one resolver); the C# mirror still inlines everything.
GlslMirrorTests pins both files, checks tokens in each, takes the union of
definitions and asserts cultmath_phacelle( and CultPhasor live only in the
Phacelle file. The fixture appends cultmath_iv_frustum_ball (exact) and
cultmath_iv_exp ("ulp-bounded, platform exp", platform named); the
comparison is per family, the platform family within 1 ulp with the
maximum printed. THIRD-PARTY-NOTICES lists CultMath.Phacelle.glsl, not
CultMath.glsl, as MPL-2.0.

Regenerated on Yggdrasil (Ubuntu 24.04.5, .NET 10.0.12); 286/286 green,
iv_exp within 0 ulp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 13:40:16 +02:00
..
fixtures CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture 2026-10-03 13:40:16 +02:00
BatchMathTests.cs Test that the float2 radial falloff overload accumulates, not assigns 2026-09-24 20:13:05 +02:00
BoundedLeastSquaresTests.cs cultmath: BoundedLeastSquares tests drive stalled passes to the stall rule 2026-09-29 13:14:21 +02:00
CellularAndSminGradTests.cs tests: fix hashing fixtures, false comments, and gradient tolerance 2026-09-25 23:13:50 +02:00
CultMath.Tests.csproj Compile the real HLSL mirror as C# and with dxc; fix its errors 2026-09-14 13:57:03 +02:00
CultMath.Tests.csproj.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
FirstOrderInterceptTests.cs Fix a tolerance-overload bug that made intercept precision asserts inert 2026-09-24 19:38:30 +02:00
GlslLowering.cs CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture 2026-10-03 13:40:16 +02:00
GlslMirrorTests.cs CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture 2026-10-03 13:40:16 +02:00
HlslMirrorTests.cs CultMath intervals: cultmath_iv_* over float2(lo, hi) in C# and HLSL, with snoise and fbm ball bounds 2026-10-02 19:52:33 +02:00
HlslMirrorTests.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
HlslSemanticsTests.cs CultMath: regenerate snoise golden values for the upstream kernel 2026-09-29 12:09:43 +02:00
HlslSemanticsTests.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
HlslSourceCompatibilityTests.cs CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture 2026-10-03 13:40:16 +02:00
HlslSourceCompatibilityTests.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
IntervalTests.cs CultMath intervals: enclosure harness, one-ulp shrink mutants, noise bounds, Lipschitz pin, saving 2026-10-02 19:56:30 +02:00
MathTests.cs CultMath: regenerate snoise golden values for the upstream kernel 2026-09-29 12:09:43 +02:00
MathTests.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
NoiseBoundTests.cs CultMath intervals r3: the analytic body, LOD-far, one shipped void, (c) against its ceiling 2026-10-03 11:42:57 +02:00
NoiseGradTests.cs CultMath: noise gradient tests carry only numbers the harness produces 2026-09-29 12:04:08 +02:00
PhacelleTests.cs CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points 2026-09-30 00:34:27 +02:00
stryker-config.json Pin mtp test-runner for CultMath and document mutation testing 2026-09-22 21:24:05 +02:00
VectorEqualityTests.cs Tie the scalar comparison overloads too, not just vector-vector 2026-09-24 19:49:23 +02:00