diff --git a/X10D.Tests/src/Core/RandomTests.cs b/X10D.Tests/src/Core/RandomTests.cs index 698cc74..94b3b38 100644 --- a/X10D.Tests/src/Core/RandomTests.cs +++ b/X10D.Tests/src/Core/RandomTests.cs @@ -226,6 +226,7 @@ public class RandomTests Random? random = null; Assert.ThrowsException(() => random!.NextSingle(10)); Assert.ThrowsException(() => random!.NextSingle(0, 10)); + Assert.ThrowsException(() => random!.NextSingle()); } [TestMethod]