public void Vector3TypeConverterConvertFromInvariantString() { tlog.Debug(tag, $"Vector3TypeConverterConvertFromInvariantString START"); var testingTarget = new Vector3TypeConverterImpl(); Assert.IsNotNull(testingTarget, "Can't create success object Vector3TypeConverter."); Assert.IsInstanceOf <Vector3TypeConverter>(testingTarget, "Should return Vector3TypeConverter instance."); // length is 3 var result = testingTarget.ConvertFromInvariantString("100, 50, 30"); tlog.Debug(tag, "ConvertFromInvariantString : " + result); // length is 2 result = testingTarget.ConvertFromInvariantString("100, 50"); tlog.Debug(tag, "ConvertFromInvariantString : " + result); // length is 1 result = testingTarget.ConvertFromInvariantString("100"); tlog.Debug(tag, "ConvertFromInvariantString : " + result); Assert.Throws <InvalidOperationException>(() => testingTarget.ConvertFromInvariantString("100, 50, 30, 0.3f")); tlog.Debug(tag, $"Vector3TypeConverterConvertFromInvariantString END"); }