@testset "Testing Example 1" begin
    local m
    makemap = true
    placement = true
    routing = true
    # Try making a map
    m = Example1.make_map()

    # Try placement - use the Search Move Generator to give it a go.
    place!(m; move_attempts = 5000)

    # Try routing
    route!(m)

    # Get statistics from the map
    MapperCore.report_routing_stats(m)

    expected_links = 12
    hist = MapperCore.global_link_histogram(m)
    # Get the number of global links from this
    found_links = 0
    for (k, v) in hist
        found_links += k * v
    end
    @test found_links == expected_links
    @test MapperCore.check_routing(m)
end

@testset "Testing Example 2" begin
    # Try making a map
    m = Example2.make_map()

    # Try placement
    place!(m)

    # Try routing
    route!(m)

    # Get statistics from the map
    MapperCore.report_routing_stats(m)
    # expect routing to fail because of inadequate resources.
    @test MapperCore.check_routing(m) == false
end
