test: 100% coverage on RandomExtensions

This commit is contained in:
Oliver Booth 2023-04-03 13:43:07 +01:00
parent b806e50ec1
commit 9985652c40
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ public class RandomTests
Random? random = null;
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle(10));
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle(0, 10));
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle());
}
[TestMethod]