From 9b4b00b654197c56387b9f188fa568ec1606ff8f Mon Sep 17 00:00:00 2001 From: Simon <4509501+simonschoelly@users.noreply.github.com> Date: Fri, 4 May 2018 22:44:54 +0200 Subject: [PATCH] fixed an error where smallgraph(:frucht) had 20 vertices instead of 12 (#878) --- src/generators/smallgraphs.jl | 2 +- test/generators/smallgraphs.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generators/smallgraphs.jl b/src/generators/smallgraphs.jl index 4561347d7..31f922e04 100644 --- a/src/generators/smallgraphs.jl +++ b/src/generators/smallgraphs.jl @@ -194,7 +194,7 @@ function FruchtGraph() (9, 10), (9, 12), (11, 12) ] - return _make_simple_undirected_graph(20, e) + return _make_simple_undirected_graph(12, e) end diff --git a/test/generators/smallgraphs.jl b/test/generators/smallgraphs.jl index 73d4f84d4..6cf960ce0 100644 --- a/test/generators/smallgraphs.jl +++ b/test/generators/smallgraphs.jl @@ -24,7 +24,7 @@ @test nv(g) == 20 && ne(g) == 30 g = smallgraph(:frucht) - @test nv(g) == 20 && ne(g) == 18 + @test nv(g) == 12 && ne(g) == 18 g = smallgraph(:heawood) @test nv(g) == 14 && ne(g) == 21