CultLib/packages/cultmath/tests/CultMath.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 16657fa20f CultMath shaders: restore the float2 segment overloads, sample close distinct sites, document the border step's owner contract
Shader overloads stay native (ruling shader-overloads-stay-native): cultmath_segment_closest and
cultmath_distance_to_segment have float2 and float3 forms again, with mirror asserts and fixture families.
The rejected "avoid overloads" comment and design text are gone. The border step's outside-cell behaviour
(distance 0 with that plane's normal) is documented in C# and the HLSL header and pinned by a test; the mirror
and fixture gain distinct sites closer than 1e-2. GLSL and fixture regenerate in the next commit; this one does
not pass CommittedGlslEqualsLowering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:01:16 +02:00
..
fixtures CultMath GLSL: regenerated lowering and parity fixture (power_border_step, segment_closest 3D; 2D segment families removed) 2026-10-16 19:25:41 +02:00
AffineTests.cs cultmath: one owner of the snoise read's absolute terms (SNOISE_READ_VALUE, SNOISE_READ_GRADIENT) 2026-10-16 06:34:21 +02:00
BatchMathTests.cs Test that the float2 radial falloff overload accumulates, not assigns 2026-09-24 20:13:05 +02:00
BoundedLeastSquaresBaseTraces.cs CultMath tests: pin the FreeViolated record of the real solves, column by column 2026-10-11 03:04:25 +02:00
BoundedLeastSquaresTests.cs CultMath BoundedLeastSquares: the stopping rule's decisions are traced and pinned; Validate is the one owner of n < 0 2026-10-10 22:24:02 +02:00
BoundedLeastSquaresTrace.cs CultMath tests: a trace case for the cap reached right after a release 2026-10-11 00:07:36 +02:00
BoundedLeastSquaresTraceTests.cs CultMath tests: pin the FreeViolated record of the real solves, column by column 2026-10-11 03:04:25 +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
CyclesOracleTests.cs CultMath Cycles: an infinite exponent is even in cycles_power; the oracle's infinite family and the pins for infinite operands 2026-10-14 04:42:39 +02:00
ExprTests.cs ExprGraph lists are read-only views over private arrays; test short evaluator inputs 2026-10-14 07:54:31 +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: snoise_hessian, integral_clamp_linear and SNOISE_THIRD scaffold (not yet measured or regenerated) 2026-10-14 06:31:43 +02:00
GlslMirrorTests.cs CultMath shaders: restore the float2 segment overloads, sample close distinct sites, document the border step's owner contract 2026-10-16 21:01:16 +02:00
HlslMirrorTests.cs CultMath: Cycles node semantics (Math, Map Range, Clamp, Mix, RGB to BW, ramp index) as math.Cycles.cs and CultMath.Cycles.hlsl under Apache-2.0 2026-10-12 03:59:59 +02:00
HlslMirrorTests.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
HlslSemanticsTests.cs snoise tie rule: x over y, y over z, x over z (a total order) in C# and both HLSL copies 2026-10-04 03:15:32 +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 shaders: restore the float2 segment overloads, sample close distinct sites, document the border step's owner contract 2026-10-16 21:01: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 tests: band read families with an allowance check, a reach test, GradDouble 2026-10-16 04:49:13 +02:00
NoiseGradTests.cs CultMath 0.4.0: state the true scope of the snoise tie change 2026-10-09 23:07:48 +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
SiteCellsTests.cs CultMath shaders: restore the float2 segment overloads, sample close distinct sites, document the border step's owner contract 2026-10-16 21:01:16 +02:00
SnoiseTieScopeTests.cs CultMath docs: state the float32 tie band in ulps, as measured (Soul s4) 2026-10-10 00:12:23 +02:00
SpanPrimitiveTests.cs cultmath: span tests: a zero-length span through the sloped branch is +0 by bit pattern 2026-10-16 01:24:20 +02:00
SpanStageTests.cs cultmath tests: band read families with an allowance check, a reach test, GradDouble 2026-10-16 04:49:13 +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