MatrixTests CreateFromString Method Delta Engine Documentation

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

public void CreateFromString()
Examples

[Test]
public void CreateFromString()
{
    var textMatrix = new Matrix("0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15");
    for (int i = 0; i < 16; i++)
        Assert.AreEqual(textMatrix[i], matrix[i]);
}
See Also