public void FlushFound() { var checker = new FlushChecker(); var value = checker.HandValue(_hands[5]); value.Should().Be(5.1413120605m); }
public void WildFlushFound() { var checker = new FlushChecker(); var value = checker.HandValue(_hands[7]); value.Should().Be(5.07m); }
public void FlushNotFound() { var checker = new FlushChecker(); for (var i = 0; i < 9; i++) { if (i != 5 && i != 8 && i != 9) { var value = checker.HandValue(_hands[i]); value.Should().Be(0, _hands[i].Select(c => c.ToString()).Aggregate((a, b) => a + " " + b)); } } }
public void FlushNotFound() { var checker = new FlushChecker(); for (var i = 0; i < _hands.Count; i++) { if (!new[] { 5, 7, 8, 9, 11, 12, 13 }.Contains(i)) { var value = checker.HandValue(_hands[i]); value.Should().Be(0, _hands[i].Select(c => c.ToString()).Aggregate((a, b) => a + " " + b)); } } }