< Summary

Class:Itinero.MapMatching.Model.GraphNode
Assembly:Itinero.MapMatching
File(s):/home/runner/work/routing2/routing2/src/Itinero.MapMatching/Model/GraphNode.cs
Covered lines:3
Uncovered lines:3
Coverable lines:6
Total lines:17
Line coverage:50% (3 of 6)
Covered branches:0
Total branches:0
Tag:251_23667616543

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_TrackPoint()100%1100%
get_SnapPoint()100%1100%
get_Cost()100%1100%
ToString()100%10%

File(s)

/home/runner/work/routing2/routing2/src/Itinero.MapMatching/Model/GraphNode.cs

#LineLine coverage
 1using Itinero.Snapping;
 2
 3namespace Itinero.MapMatching.Model;
 4
 5public class GraphNode
 6{
 150837    public int? TrackPoint { get; set; }
 8
 283539    public SnapPoint? SnapPoint { get; set; }
 10
 12743511    public double Cost { get; set; }
 12
 13    public override string ToString()
 014    {
 015        return $"{this.TrackPoint} -> {this.SnapPoint} with c={this.Cost}";
 016    }
 17}