Floyd-Warshall, tests.