public static void Compare(LobbyOptions l, LobbyOptions dl)
        {
            Assert.AreEqual(l.GetType(), dl.GetType());

            if (l.GetType() == typeof (LobbyOptionsRegisteredMode))
            {
                var lc = (LobbyOptionsRegisteredMode)l;
                var dlc = (LobbyOptionsRegisteredMode)dl;
                Assert.AreEqual(lc.IsMaximumBuyInLimited, dlc.IsMaximumBuyInLimited);
            }
            else if (l.GetType() == typeof(LobbyOptionsQuickMode))
            {
                var lt = (LobbyOptionsQuickMode)l;
                var dlt = (LobbyOptionsQuickMode)dl;
                Assert.AreEqual(lt.StartingAmount, dlt.StartingAmount);
            }
        }
        public static void Compare(LobbyOptions l, LobbyOptions dl)
        {
            Assert.AreEqual(l.GetType(), dl.GetType());
            Assert.AreEqual(l.MaximumAmountForBuyIn, dl.MaximumAmountForBuyIn);
            Assert.AreEqual(l.MinimumAmountForBuyIn, dl.MinimumAmountForBuyIn);

            if (l.GetType() == typeof(LobbyOptionsRegisteredMode))
            {
                var lc  = (LobbyOptionsRegisteredMode)l;
                var dlc = (LobbyOptionsRegisteredMode)dl;
                Assert.AreEqual(lc.IsMaximumBuyInLimited, dlc.IsMaximumBuyInLimited);
                Assert.AreEqual(lc.MoneyUnit, dlc.MoneyUnit);
            }
            else if (l.GetType() == typeof(LobbyOptionsQuickMode))
            {
                var lt  = (LobbyOptionsQuickMode)l;
                var dlt = (LobbyOptionsQuickMode)dl;
                Assert.AreEqual(lt.StartingAmount, dlt.StartingAmount);
            }
        }
        public static void Compare(LobbyOptions l, LobbyOptions dl)
        {
            Assert.AreEqual(l.GetType(), dl.GetType());

            //if (l.GetType() == typeof (LobbyOptionsRegisteredMode))
            //{
            //    var lc = (LobbyOptionsRegisteredMode)l;
            //    var dlc = (LobbyOptionsRegisteredMode)dl;
            //    Assert.AreEqual(lc.IsMaximumBuyInLimited, dlc.IsMaximumBuyInLimited);
            //}
            //else if (l.GetType() == typeof(LobbyOptionsQuickMode))
            //{
            //    var lt = (LobbyOptionsQuickMode)l;
            //    var dlt = (LobbyOptionsQuickMode)dl;
            //    Assert.AreEqual(lt.StartingAmount, dlt.StartingAmount);
            //}
        }