Ejemplo n.º 1
0
        public void CustomSelectionTest()
        {
            var selection = _customSelectionBuilder.SetIdUof(1, "sr:sport:3", 28200, "13", string.Empty, null).SetEventId("sr:match:12345").SetOdds(20000).SetBanker(false).Build();

            Assert.IsNotNull(selection);
            Assert.AreEqual("sr:match:12345", selection.EventId);
            Assert.AreEqual(20000, selection.Odds);
            Assert.AreEqual(false, selection.IsBanker);
        }
Ejemplo n.º 2
0
        public void SelectionBuilderGetMarketDescriptionTest()
        {
            var selection = _selectionBuilder.SetIdUof(1, "sr:sport:3", 282, "13", string.Empty, null).SetEventId(SR.I1000P).SetOdds(SR.I1000P).SetBanker(false).Build();

            Assert.IsNotNull(selection);
        }