Exemplo n.º 1
0
        public Task <DealtHandDTO> RequestDealtHand()
        {
            var handModel = new HandModel().DealHand();
            var result    = new DealtHandDTO(handModel.Cards, handModel.GetHandStrength());

            return(Task.FromResult(result));
        }
Exemplo n.º 2
0
        public void CanGetHandStrengthFromDealtHand()
        {
            _handModel.DealHand();
            var strength = _handModel.GetHandStrength();

            Assert.NotNull(strength);
        }