replace '\' in filepaths with '/'

This commit is contained in:
Buddhism8003 2025-12-14 15:02:19 +01:00
parent 3888fd23a8
commit e68be83627
12 changed files with 26 additions and 26 deletions

View File

@ -6,8 +6,8 @@ public class Day01Test
{
private readonly IPuzzleSolver<int> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day01.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day01.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day01.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day01.txt";
public Day01Test()
{

View File

@ -6,8 +6,8 @@ public class Day02Test
{
private readonly IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day02.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day02.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day02.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day02.txt";
public Day02Test()
{

View File

@ -6,8 +6,8 @@ public class Day03Test
{
private readonly IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day03.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day03.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day03.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day03.txt";
public Day03Test()
{

View File

@ -6,8 +6,8 @@ public class Day04Test
{
private readonly IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day04.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day04.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day04.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day04.txt";
public Day04Test()
{

View File

@ -6,8 +6,8 @@ public class Day05Test
{
private readonly Day05 _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day05.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day05.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day05.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day05.txt";
public Day05Test()
{

View File

@ -6,8 +6,8 @@ public class Day06Test
{
private readonly IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day06.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day06.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day06.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day06.txt";
public Day06Test()
{

View File

@ -6,8 +6,8 @@ public class Day07Test
{
private readonly IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day07.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day07.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day07.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day07.txt";
public Day07Test()
{

View File

@ -6,8 +6,8 @@ public class Day08Test
{
private IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day08.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day08.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day08.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day08.txt";
public Day08Test()
{

View File

@ -6,9 +6,9 @@ public class Day09Test
{
private IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day09.txt";
private readonly string Test2InputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day09_2.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day09.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day09.txt";
private readonly string Test2InputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day09_2.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day09.txt";
public Day09Test()
{

View File

@ -6,8 +6,8 @@ public class Day10Test
{
private IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day10.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day10.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day10.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day10.txt";
public Day10Test()
{

View File

@ -6,9 +6,9 @@ public class Day11Test
{
private IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day11.txt";
private readonly string Test2InputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day11_2.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day11.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day11.txt";
private readonly string Test2InputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day11_2.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day11.txt";
public Day11Test()
{

View File

@ -6,8 +6,8 @@ public class Day12Test
{
private IPuzzleSolver<long> _sut;
private static readonly string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private readonly string TestInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Test\day12.txt";
private readonly string ProdInputPath = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day12.txt";
private readonly string TestInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Test/day12.txt";
private readonly string ProdInputPath = @$"{rootPath}/AoC-PuzzleInputs/2025/Prod/day12.txt";
public Day12Test()
{