public void Parse_should_roundtrip_on_values(string name) { var expected = typeof(TestTagType).GetField(name).GetValue(null); Assert.Equal( expected, TestTagType.Parse(name) ); }
public void IsAutomatic_applies_to_previously() { Assert.True(TestTagType.Parse("previously").Automatic); }
public static TestTagPredicate Exactly(TestTagType type, string value) { return(Exactly(new TestTag(type, value))); }