From 1b5499cf78ee4cdc3f866f0838ecbdc2c626c85d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 11 Oct 2026 08:46:54 +0200 Subject: [PATCH] ThrustAllocatorTests: System.Random (CultMath.Random is ambiguous); fixes the build of the previous commit c7dcf178 does not build (CS0104); this commit does. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/ThrustAllocatorTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Aetheria.Shared.Tests/ThrustAllocatorTests.cs b/tests/Aetheria.Shared.Tests/ThrustAllocatorTests.cs index 705590f27..228b2e630 100644 --- a/tests/Aetheria.Shared.Tests/ThrustAllocatorTests.cs +++ b/tests/Aetheria.Shared.Tests/ThrustAllocatorTests.cs @@ -269,7 +269,7 @@ public class ThrustAllocatorTests // generator: Synthetic(8, 7005)). static float3[] Synthetic(int n, int seed) { - var rng = new Random(seed); + var rng = new System.Random(seed); var cols = new float3[n]; for (var i = 0; i < n; i++) { @@ -287,7 +287,7 @@ public class ThrustAllocatorTests public void ColdAndWarmStartsAgreeOnTheHullThatStoppedEarly() { var hull = Synthetic(8, 7005); - var rng = new Random(5); + var rng = new System.Random(5); var warm = new ThrustAllocator(); for (var step = 0; step < 8; step++) {