public void StraitFlushFound() { var checker = new StraitFlushChecker(); var value = checker.HandValue(_hands[8]); value.Should().Be(8.0807060504m); }
public void RoyalFlushFound() { var checker = new StraitFlushChecker(); var value = checker.HandValue(_hands[9]); value.Should().Be(8.1413121110m); }
public void MultipleWildStraitFlushFound() { var checker = new StraitFlushChecker(); var value = checker.HandValue(_hands[7]); value.Should().Be(8.1110090807m); }
public void StraitFlushNotFound() { var checker = new StraitFlushChecker(); for (var i = 0; i < 9; i++) { if (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 StraitFlushNotFound() { var checker = new StraitFlushChecker(); for (var i = 0; i < _hands.Count; i++) { if (!new[] { 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)); } } }