(String[] args)
| 1 | public class FloydWarshallTest { |
| 2 | |
| 3 | public static void main(String[] args) { |
| 4 | FloydWarshall fw = new FloydWarshall(5); |
| 5 | fw.setWeight(1, 3, 5); |
| 6 | fw.setWeight(1, 2, 7); |
| 7 | fw.setWeight(1, 4, -3); |
| 8 | fw.setWeight(3, 4, 3); |
| 9 | fw.setWeight(3, 5, 3); |
| 10 | fw.setWeight(4, 2, 3); |
| 11 | fw.setWeight(4, 5, 6); |
| 12 | fw.setWeight(5, 3, 2); |
| 13 | |
| 14 | fw.getShortestDistance(); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | class FloydWarshall { |
nothing calls this directly
no test coverage detected