File tree Expand file tree Collapse file tree 10 files changed +56
-20
lines changed Expand file tree Collapse file tree 10 files changed +56
-20
lines changed Original file line number Diff line number Diff line change @@ -4,22 +4,20 @@ plugins {
44}
55
66group ' lv.id.jc'
7- version ' 1.0 '
7+ version ' 1.1 '
88
99repositories {
1010 mavenCentral()
1111}
1212
1313dependencies {
14- implementation ' org.codehaus.groovy:groovy-all:3.0.9'
15-
1614 // Spock Framework
1715 testImplementation ' org.spockframework:spock-core:2.0-groovy-3.0'
1816 testImplementation ' org.codehaus.groovy:groovy-all:3.0.9'
1917
2018 // Spock Reports
2119 testRuntimeClasspath( " com.athaydes:spock-reports:2.1.1-groovy-3.0" ) {
22- // transitive = false // this avoids affecting your version of Groovy/Spock
20+ transitive = false // this avoids affecting your version of Groovy/Spock
2321 }
2422 // Required for spock-reports
2523 testImplementation ' org.slf4j:slf4j-api:1.7.32'
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <Diagram >
3+ <ID >JAVA</ID >
4+ <OriginalElement >lv.id.jc.algorithm.graph</OriginalElement >
5+ <nodes >
6+ <node x =" -79.0" y =" -132.0" >lv.id.jc.algorithm.graph.SearchAlgorithm</node >
7+ <node x =" -225.0" y =" -19.0" >lv.id.jc.algorithm.graph.DijkstrasAlgorithm</node >
8+ <node x =" 67.0" y =" -19.0" >lv.id.jc.algorithm.graph.BreadthFirstSearch</node >
9+ <node x =" -100.0" y =" 94.0" >lv.id.jc.algorithm.graph.Graph</node >
10+ </nodes >
11+ <notes />
12+ <edges >
13+ <edge source =" lv.id.jc.algorithm.graph.BreadthFirstSearch" target =" lv.id.jc.algorithm.graph.SearchAlgorithm" relationship =" REALIZATION" >
14+ <point x =" 0.0" y =" -31.5" />
15+ <point x =" 203.0" y =" -44.0" />
16+ <point x =" 57.0" y =" -44.0" />
17+ <point x =" 0.0" y =" 31.5" />
18+ </edge >
19+ <edge source =" lv.id.jc.algorithm.graph.DijkstrasAlgorithm" target =" lv.id.jc.algorithm.graph.SearchAlgorithm" relationship =" REALIZATION" >
20+ <point x =" 0.0" y =" -31.5" />
21+ <point x =" -89.0" y =" -44.0" />
22+ <point x =" 57.0" y =" -44.0" />
23+ <point x =" 0.0" y =" 31.5" />
24+ </edge >
25+ </edges >
26+ <settings layout =" Hierarchic" zoom =" 1.0" showDependencies =" false" x =" 282.0" y =" 181.0" />
27+ <SelectedNodes >
28+ <node >lv.id.jc.algorithm.graph.Graph</node >
29+ </SelectedNodes >
30+ <Categories >
31+ <Category >Fields</Category >
32+ <Category >Inner Classes</Category >
33+ <Category >Methods</Category >
34+ <Category >Properties</Category >
35+ </Categories >
36+ <SCOPE >All</SCOPE >
37+ <VISIBILITY >private</VISIBILITY >
38+ </Diagram >
39+
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ <h2>Report for graph.BreadthFirstSearchSpec</h2>
251251</ div >
252252< div class ='summary-report '>
253253< h3 > Summary:</ h3 >
254- < div class ='date-test-ran '> Created on Mon Jan 03 21:16:51 EET 2022 by jegors.cemisovs</ div >
254+ < div class ='date-test-ran '> Created on Mon Jan 03 21:28:27 EET 2022 by jegors.cemisovs</ div >
255255< table class ='summary-table '>
256256< thead >
257257< tr >
@@ -272,7 +272,7 @@ <h3>Summary:</h3>
272272< td > 0</ td >
273273< td > 0</ td >
274274< td > 100.0%</ td >
275- < td > 0.069 seconds</ td >
275+ < td > 0.071 seconds</ td >
276276</ tr >
277277</ tbody >
278278</ table >
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ <h2>Report for graph.DijkstrasAlgorithmSpec</h2>
251251</ div >
252252< div class ='summary-report '>
253253< h3 > Summary:</ h3 >
254- < div class ='date-test-ran '> Created on Mon Jan 03 21:16:51 EET 2022 by jegors.cemisovs</ div >
254+ < div class ='date-test-ran '> Created on Mon Jan 03 21:28:27 EET 2022 by jegors.cemisovs</ div >
255255< table class ='summary-table '>
256256< thead >
257257< tr >
@@ -272,7 +272,7 @@ <h3>Summary:</h3>
272272< td > 0</ td >
273273< td > 0</ td >
274274< td > 100.0%</ td >
275- < td > 0.022 seconds</ td >
275+ < td > 0.023 seconds</ td >
276276</ tr >
277277</ tbody >
278278</ table >
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ <h2>Report for graph.GraphSpec</h2>
251251</ div >
252252< div class ='summary-report '>
253253< h3 > Summary:</ h3 >
254- < div class ='date-test-ran '> Created on Mon Jan 03 21:16:51 EET 2022 by jegors.cemisovs</ div >
254+ < div class ='date-test-ran '> Created on Mon Jan 03 21:28:28 EET 2022 by jegors.cemisovs</ div >
255255< table class ='summary-table '>
256256< thead >
257257< tr >
@@ -272,7 +272,7 @@ <h3>Summary:</h3>
272272< td > 0</ td >
273273< td > 0</ td >
274274< td > 100.0%</ td >
275- < td > 0.037 seconds</ td >
275+ < td > 0.045 seconds</ td >
276276</ tr >
277277</ tbody >
278278</ table >
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ <h2>Report for graph.SearchAlgorithmSpec</h2>
251251</ div >
252252< div class ='summary-report '>
253253< h3 > Summary:</ h3 >
254- < div class ='date-test-ran '> Created on Mon Jan 03 21:16:51 EET 2022 by jegors.cemisovs</ div >
254+ < div class ='date-test-ran '> Created on Mon Jan 03 21:28:28 EET 2022 by jegors.cemisovs</ div >
255255< table class ='summary-table '>
256256< thead >
257257< tr >
@@ -272,7 +272,7 @@ <h3>Summary:</h3>
272272< td > 0</ td >
273273< td > 0</ td >
274274< td > 100.0%</ td >
275- < td > 0.003 seconds</ td >
275+ < td > 0.011 seconds</ td >
276276</ tr >
277277</ tbody >
278278</ table >
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ <h2>Specification run results</h2>
8484</ div >
8585< div class ='summary-report '>
8686< h3 > Specifications summary:</ h3 >
87- < div class ='date-test-ran '> Created on Mon Jan 03 21:16:52 EET 2022 by jegors.cemisovs</ div >
87+ < div class ='date-test-ran '> Created on Mon Jan 03 21:28:28 EET 2022 by jegors.cemisovs</ div >
8888< table class ='summary-table '>
8989< thead >
9090< tr >
@@ -111,7 +111,7 @@ <h3>Specifications summary:</h3>
111111< td > 0</ td >
112112< td > 0</ td >
113113< td > 100.0%</ td >
114- < td > 0.131 seconds</ td >
114+ < td > 0.150 seconds</ td >
115115</ tr >
116116</ tbody >
117117</ table >
@@ -142,7 +142,7 @@ <h3>Specifications:</h3>
142142< td > 0</ td >
143143< td > 0</ td >
144144< td > 100.0%</ td >
145- < td > 0.069 seconds</ td >
145+ < td > 0.071 seconds</ td >
146146</ tr >
147147< tr >
148148< td >
@@ -155,7 +155,7 @@ <h3>Specifications:</h3>
155155< td > 0</ td >
156156< td > 0</ td >
157157< td > 100.0%</ td >
158- < td > 0.022 seconds</ td >
158+ < td > 0.023 seconds</ td >
159159</ tr >
160160< tr >
161161< td >
@@ -168,7 +168,7 @@ <h3>Specifications:</h3>
168168< td > 0</ td >
169169< td > 0</ td >
170170< td > 100.0%</ td >
171- < td > 0.037 seconds</ td >
171+ < td > 0.045 seconds</ td >
172172</ tr >
173173< tr >
174174< td >
@@ -181,7 +181,7 @@ <h3>Specifications:</h3>
181181< td > 0</ td >
182182< td > 0</ td >
183183< td > 100.0%</ td >
184- < td > 0.003 seconds</ td >
184+ < td > 0.011 seconds</ td >
185185</ tr >
186186</ tbody >
187187</ table >
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import spock.lang.Title
1010class GraphSpec extends Specification {
1111
1212 def " should return edges for a given node" () {
13-
1413 given : ' a simple graph with three nodes'
1514 def graph = Graph . of([
1615 A : [B : 7 , C : 2 ],
You can’t perform that action at this time.
0 commit comments