Namespace: DeltaEngine.Rendering3D.Particles
Assembly: DeltaEngine.Rendering3D.Particles (in DeltaEngine.Rendering3D.Particles.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering3D.Particles.Tests.ValueRangeTests
3 unit tests call DeltaEngine.Rendering3D.Particles.ValueRange.Start
Assembly: DeltaEngine.Rendering3D.Particles (in DeltaEngine.Rendering3D.Particles.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: SingleRemarks
Examples
[Test] public void SingleValueConstructor() { valueRange = new ValueRange(0.1f); Assert.AreEqual(0.1f, valueRange.Start); Assert.AreEqual(0.1f, valueRange.End); }
[Test] public void MinMaxConstructor() { Assert.AreEqual(0.2f, valueRange.Start); Assert.AreEqual(0.3f, valueRange.End); }
[Test] public void CreateValueRangeFromString() { var range = new ValueRange("0.1, 0.9"); Assert.AreEqual(0.1f, range.Start); Assert.AreEqual(0.9f, range.End); }
See Also