public void ForEach() { var test = new FloatMatrix(new float[2, 2] { { 1f, 2f }, { 3f, 4f } }); foreach (float f in test) { Assert.IsTrue(test.Contains(f)); } }
public void ForEach() { FloatMatrix test = new FloatMatrix(new float[2, 2] { { 1f, 2f }, { 3f, 4f } }); foreach (float f in test) Assert.IsTrue(test.Contains(f)); }