public void TestGetTagInvalidEnumValue() { ScriptType type = (ScriptType)99; Action a = () => ScriptConverter.GetTag(type); a.Should().Throw <InvalidOperationException>().WithMessage("Unable to find a tag for*"); }
public void TestGetTagSub() { ScriptConverter.GetTag(ScriptType.Sub).Should().Be("sub"); }
public void TestGetTagSuper() { ScriptConverter.GetTag(ScriptType.Super).Should().Be("sup"); }