Class PathTest


  • public class PathTest
    extends java.lang.Object
    • Field Detail

      • graph

        private static Graph graph
      • nodes

        private static Node[] nodes
      • a2b

        private static Arc a2b
      • a2c

        private static Arc a2c
      • a2e

        private static Arc a2e
      • b2c

        private static Arc b2c
      • c2d_1

        private static Arc c2d_1
      • c2d_2

        private static Arc c2d_2
      • c2d_3

        private static Arc c2d_3
      • c2a

        private static Arc c2a
      • d2a

        private static Arc d2a
      • d2e

        private static Arc d2e
      • e2d

        private static Arc e2d
      • emptyPath

        private static Path emptyPath
      • singleNodePath

        private static Path singleNodePath
      • shortPath

        private static Path shortPath
      • longPath

        private static Path longPath
      • loopPath

        private static Path loopPath
      • longLoopPath

        private static Path longLoopPath
      • invalidPath

        private static Path invalidPath
    • Constructor Detail

      • PathTest

        public PathTest()
    • Method Detail

      • initAll

        public static void initAll()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • testConstructor

        public void testConstructor()
      • testImmutability

        public void testImmutability()
      • testIsEmpty

        public void testIsEmpty()
      • testSize

        public void testSize()
      • testIsValid

        public void testIsValid()
      • testGetLength

        public void testGetLength()
      • testGetTravelTime

        public void testGetTravelTime()
      • testGetMinimumTravelTime

        public void testGetMinimumTravelTime()
      • testCreateFastestPathFromNodes

        public void testCreateFastestPathFromNodes()
      • testCreateShortestPathFromNodes

        public void testCreateShortestPathFromNodes()
      • testCreateFastestPathFromNodesException

        public void testCreateFastestPathFromNodesException()
      • testCreateShortestPathFromNodesException

        public void testCreateShortestPathFromNodesException()