예제 #1
0
        public Task <DealtHandDTO> RequestDealtHand()
        {
            var handModel = new HandModel().DealHand();
            var result    = new DealtHandDTO(handModel.Cards, handModel.GetHandStrength());

            return(Task.FromResult(result));
        }
예제 #2
0
        public void CanGetHandStrengthFromDealtHand()
        {
            _handModel.DealHand();
            var strength = _handModel.GetHandStrength();

            Assert.NotNull(strength);
        }