ValueRangeTests CreateValueRangeFromInvalidStringCrashes Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering3D.Particles.Tests
Assembly: DeltaEngine.Rendering3D.Particles.Tests (in DeltaEngine.Rendering3D.Particles.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CreateValueRangeFromInvalidStringCrashes()
Examples

[Test]
public void CreateValueRangeFromInvalidStringCrashes()
{
    Assert.Throws<FormatException>(() => new ValueRange("abc, 3"));
    Assert.Throws<ValueRange.InvalidStringFormat>(() => new ValueRange("0.1"));
}
See Also