public void UnionTest1()
        {
            var efi = new EnumFlagIndexer <GenericUriParserOptions>(GenericUriParserOptions.Idn);

            efi.Union(new[] { GenericUriParserOptions.IriParsing, GenericUriParserOptions.NoPort });
            Assert.That(efi.Equals(GenericUriParserOptions.Idn | GenericUriParserOptions.NoPort | GenericUriParserOptions.IriParsing), Is.True);
            efi.Union(new[] { GenericUriParserOptions.Idn, GenericUriParserOptions.NoPort });
            Assert.That(efi.Equals(GenericUriParserOptions.Idn | GenericUriParserOptions.NoPort | GenericUriParserOptions.IriParsing), Is.True);
        }
        public void UnionTest()
        {
            var efi = new EnumFlagIndexer <GenericUriParserOptions>(GenericUriParserOptions.Idn);

            efi.Union(GenericUriParserOptions.NoPort);
            Assert.That(efi.Equals(GenericUriParserOptions.Idn | GenericUriParserOptions.NoPort), Is.True);
            efi.Union(GenericUriParserOptions.NoPort);
            Assert.That(efi.Equals(GenericUriParserOptions.Idn | GenericUriParserOptions.NoPort), Is.True);
        }