public void EnumAdd() { var enumeration = new NativeEnum("e"); enumeration.AddValue("v1", "1"); enumeration.AddValue("v2", "2"); _storage.AddDefinedType(enumeration); Assert.True(_storage.Contains("v1")); Assert.True(_storage.Contains("v2")); }
public void EnumAdd() { var enumeration = new NativeEnum("e"); enumeration.AddValue("v1", "1"); enumeration.AddValue("v2", "2"); _storage.AddDefinedType(enumeration); Assert.True(_storage.Contains("v1")); Assert.True(_storage.Contains("v2")); }