charleskawczynski / PokerHandEvaluator.jl

A Poker hand evaluator, with Texas hold 'em in mind.
MIT License
6 stars 0 forks source link

Add type annotation to evaluate5 #35

Closed charleskawczynski closed 3 years ago

charleskawczynski commented 3 years ago

This allows the compiler to infer that Int64 is returned from evaluate5.

codecov[bot] commented 3 years ago

Codecov Report

Merging #35 (86f8008) into main (a3af217) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          238       235    -3     
=========================================
- Hits           238       235    -3     
Impacted Files Coverage Δ
src/evaluate5.jl 100.00% <100.00%> (ø)
src/PokerHandEvaluator.jl 100.00% <0.00%> (ø)
src/best_hand_rank_from_n_cards.jl 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a3af217...86f8008. Read the comment docs.

charleskawczynski commented 3 years ago

bors r+

bors[bot] commented 3 years ago

Build succeeded: