public void CanParseWeirdEdgeCases(string name, string reformatted) { var structured = new StructuredTypeFactory().CreateFromTypeName(name); Assert.That(structured.ToString(), Is.EqualTo(reformatted)); }
public void CanInterpretTypesCorrectly(Type type, string name) { var structured = new StructuredTypeFactory().CreateFromType(type); Assert.That(structured.ToString(), Is.EqualTo(name)); }
public void ValidTypeNames_Roundtrip(string name) { var structured = new StructuredTypeFactory().CreateFromTypeName(name); Assert.That(structured.ToString(), Is.EqualTo(name)); }