diff --git a/docs/spock-reports/index.html b/docs/spock-reports/index.html
index 40a9694..85a52a9 100644
--- a/docs/spock-reports/index.html
+++ b/docs/spock-reports/index.html
@@ -80,11 +80,11 @@
Specifications summary:
-
Created on Mon Jan 03 21:28:28 EET 2022 by jegors.cemisovs
+
Created on Tue Jan 04 18:35:45 EET 2022 by jegors.cemisovs
@@ -111,7 +111,7 @@ Specifications summary:
0 |
0 |
100.0% |
-0.150 seconds |
+0.126 seconds |
@@ -142,7 +142,7 @@
Specifications:
0 |
0 |
100.0% |
-
0.071 seconds |
+
0.047 seconds |
@@ -155,7 +155,7 @@ Specifications:
| 0 |
0 |
100.0% |
-0.023 seconds |
+0.016 seconds |
@@ -168,7 +168,7 @@ Specifications:
| 0 |
0 |
100.0% |
-0.045 seconds |
+0.047 seconds |
@@ -181,7 +181,7 @@ Specifications:
| 0 |
0 |
100.0% |
-0.011 seconds |
+0.016 seconds |
diff --git a/docs/spock-reports/summary.md b/docs/spock-reports/summary.md
new file mode 100644
index 0000000..12d9308
--- /dev/null
+++ b/docs/spock-reports/summary.md
@@ -0,0 +1,23 @@
+# Specification run results
+
+## Project: Graph search algorithms, Version: 1.1
+
+## Specifications summary
+
+
Created on Tue Jan 04 18:35:06 EET 2022 by jegors.cemisovs
+
+| Total | Passed | Failed | Feature failures | Feature errors | Success rate | Total time (ms) |
+|----------------|-----------------|-----------------|------------------|------------------|---------------------|-----------------|
+| 4 | 4 | 0 | 0 | 0 | 1.0| 138.0 |
+
+## Specifications
+
+|Name | Features | Failed | Errors | Skipped | Success rate | Time |
+|------|----------|--------|--------|---------|--------------|------|
+| graph.BreadthFirstSearchSpec | 4 | 0 | 0 | 0 | 1.0 | 54 |
+| graph.SearchAlgorithmSpec | 1 | 0 | 0 | 0 | 1.0 | 15 |
+| graph.DijkstrasAlgorithmSpec | 5 | 0 | 0 | 0 | 1.0 | 16 |
+| graph.GraphSpec | 5 | 0 | 0 | 0 | 1.0 | 53 |
+
+
+
Generated by Athaydes Spock Reports
\ No newline at end of file
diff --git a/src/main/java/lv/id/jc/algorithm/graph/Graph.java b/src/main/java/lv/id/jc/algorithm/graph/Graph.java
index 76157aa..6ed2e9c 100644
--- a/src/main/java/lv/id/jc/algorithm/graph/Graph.java
+++ b/src/main/java/lv/id/jc/algorithm/graph/Graph.java
@@ -14,7 +14,10 @@
@FunctionalInterface
public interface Graph
{
/**
- * Schema of the graph.
+ * The schema of this graph.
+ *
+ * In a graph schema, each vertex is assigned an edge map.
+ * If the vertex has no edges, then it should be assigned an empty map.
*
* @return the graph scheme
*/
diff --git a/src/test/resources/SpockConfig.groovy b/src/test/resources/SpockConfig.groovy
index 887390e..c21511c 100644
--- a/src/test/resources/SpockConfig.groovy
+++ b/src/test/resources/SpockConfig.groovy
@@ -2,5 +2,9 @@ spockReports {
set 'com.athaydes.spockframework.report.showCodeBlocks': true
set 'com.athaydes.spockframework.report.outputDir': 'docs/spock-reports'
set 'com.athaydes.spockframework.report.projectName': 'Graph search algorithms'
- set 'com.athaydes.spockframework.report.projectVersion': 1.0
+ set 'com.athaydes.spockframework.report.projectVersion': 1.1
+ set 'com.athaydes.spockframework.report.internal.HtmlReportCreator.enabled': true
+ set 'com.athaydes.spockframework.report.IReportCreator': 'com.athaydes.spockframework.report.internal.HtmlReportCreator'
+ // com.athaydes.spockframework.report.template.TemplateReportCreator
+ // com.athaydes.spockframework.report.internal.HtmlReportCreator
}
\ No newline at end of file