Floyd warshall tested