MSTest uses the DataRow attribute to define test cases.
Parameters are passed in it.
A complex type - Vector in this case - is created inside a test method.
[DataTestMethod]
[DataRow(5, 1, 4, 22)]
[DataRow(10, 20, 30, 1310)]
[DataRow(6, 12, 9, 231)]
public void LengthProperty_OneVector_PositiveTestResult(double x, double y, double z, double expectedLength)
{
var vector = new Vector(x, y, z);
Assert.AreEqual(expectedLength, vector.Length);
}