• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

samsmithnz / PuzzleSolver / 4064748535

pending completion
4064748535

push

github

GitHub
Merge pull request #28 from samsmithnz/AddingMapAndPathFinding

806 of 854 branches covered (94.38%)

Branch coverage included in aggregate %.

342 of 342 new or added lines in 8 files covered. (100.0%)

1165 of 1194 relevant lines covered (97.57%)

1263151.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

43.75
/src/PuzzleSolver/Map/PathFindingResult.cs
1
using System.Collections.Generic;
2
using System.Numerics;
3

4
namespace PuzzleSolver.Map
5
{
6
    public class PathFindingResult
7
    {
8
        public PathFindingResult()
2✔
9
        {
2✔
10
            Tiles = new List<MapTile>();
2✔
11
            Path = new List<Vector2>();
2✔
12
        }
2✔
13

14
        public List<MapTile> Tiles { get; set; }
13✔
15
        public List<Vector2> Path { get; set; }
28✔
16

17
        public MapTile GetLastTile()
18
        {
×
19
            if (Tiles.Count > 0)
×
20
            {
×
21
                return Tiles[Tiles.Count - 1];
×
22
            }
23
            else
24
            {
×
25
                return null;
×
26
            }
27
        }
×
28
    }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc