BinaryDataLoadSaveTests SaveRangeGraph Method Delta Engine Documentation

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

public void SaveRangeGraph()
Examples

[Test]
public void SaveRangeGraph()
{
    var range = new RangeGraph<Vector2D>(Vector2D.Zero, new Vector2D(3.0f, 3.0f));
    var data = BinaryDataExtensions.SaveToMemoryStream(range);
    Assert.AreEqual(68, data.Length);
}
See Also