[Snake] Board.countNodeWeightCopies() docstring does not match written method
Closed this issue · 0 comments
phildenhoff commented
Expect: Docstring and method match
Actual: Dosctring states that it "[Returns] False if weight appears more than once in the graph." However, method returns the number of elements in the dictionary matching the given weight.
Suggested fix: Docstring should state "Returns the number of nodes with the given weight (min. 1)"