Пример #1
0
 public void CalculateNodeCount(int nodes, int levels, int descendants, int precedents)
 {
     Assert.AreEqual(nodes, GraphGenerator.CalculateNodeCount(levels, descendants, precedents));
 }
Пример #2
0
 public void GenerateGraphThrowsArgumentExceptionOnNonMultipleParameters()
 {
     GraphGenerator.CalculateNodeCount(1, 3, 2);
 }