Package h07

Class TemplateTests.ShortestPathsAlgorithmTemplateTest

  • Enclosing class:
    TemplateTests

    @Nested
    public class TemplateTests.ShortestPathsAlgorithmTemplateTest
    extends TestClass
    Tests for interface ShortestPathsAlgorithm.
    • Field Detail

      • shortestPaths

        public final Method shortestPaths
        Method object for ShortestPathsAlgorithm.shortestPaths(DirectedGraph, V, Monoid, Comparator)
    • Method Detail

      • testDefinition

        @Test
        public void testDefinition()
        Tests the definition of ShortestPathsAlgorithm.
        • Asserts that the interface...
          • is public
          • is generic and has two type parameters, V and A
        • Asserts that shortestPaths(DirectedGraph, V, Monoid, Comparator) is public and abstract and has return type Map<V, Path<V, A>>
        Specified by:
        testDefinition in class TestClass