Related to the below: there are no reasons IGraph is not preloaded.
IGraph
Your IGraph/Graph doesn't even implement IEqualityComparer or IEquatable. How are you going to determine if two nodes are the same then?
Graph
IEqualityComparer
IEquatable
We're not provided the total amount of nodes in the graph.
What if there are more than one connected components?
Needs random tests
Duplicate:
https://www.codewars.com/kata/search/?q=tic+tac+toe&beta=false
Testing for every outcome at least once in the standard test cases would be nice. One can write his own test cases, true, but it's better to have the obvious tests there from the beginning.
Loading collection data...
Related to the below: there are no reasons
IGraph
is not preloaded.Your
IGraph
/Graph
doesn't even implementIEqualityComparer
orIEquatable
. How are you going to determine if two nodes are the same then?We're not provided the total amount of nodes in the graph.
What if there are more than one connected components?
Needs random tests
Duplicate:
https://www.codewars.com/kata/search/?q=tic+tac+toe&beta=false
Testing for every outcome at least once in the standard test cases would be nice. One can write his own test cases, true, but it's better to have the obvious tests there from the beginning.