mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 23:58:48 +00:00
test: 100% coverage on RandomExtensions
This commit is contained in:
parent
b806e50ec1
commit
9985652c40
@ -226,6 +226,7 @@ public class RandomTests
|
|||||||
Random? random = null;
|
Random? random = null;
|
||||||
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle(10));
|
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle(10));
|
||||||
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle(0, 10));
|
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle(0, 10));
|
||||||
|
Assert.ThrowsException<ArgumentNullException>(() => random!.NextSingle());
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
|
Loading…
Reference in New Issue
Block a user