src/GenFx.Components.Tests/RouletteWheelSamplerTest.cs
/// <summary>
/// Tests that an exception is thrown when a null wheel slice is passed.
/// </summary>
Tests that an exception is thrown when a null wheel slice is passed.
Tests that an exception is thrown when a null wheel slice is passed .
[Fact]
        public void RouletteWheelSampler_GetEntity_NullWheelSlice()
        {
            Assert.Throws<ArgumentException>(() => RouletteWheelSampler.GetEntity(new WheelSlice[] { null }.ToList()));
        }
[ Fact ] public void RouletteWheelSampler_GetEntity_NullWheelSlice ( ) { Assert . Throws < ArgumentException > ( ( ) => RouletteWheelSampler . GetEntity ( new WheelSlice [ ] { null } . ToList ( ) ) ) ; }
Tests that an exception is thrown when a null wheel slice is passed.
Tests that an exception is thrown when a null wheel slice is passed .