add test for A* argument exception

master
evan 2019-10-22 17:55:52 -07:00
parent 36f62e1b4f
commit d6f2e0b793
1 changed files with 2 additions and 0 deletions

View File

@ -247,6 +247,8 @@ namespace Tests
)
.And
.HaveCount(3);
myGraph.Invoking(x => x.AStarShortestPath('a', 'z', (x, y) => 15)).Should().Throw<System.ArgumentException>();
}
}
}