From de9f0e5ed1eece4f966bdcaa28c049bfc23ff8f7 Mon Sep 17 00:00:00 2001
From: smabuk <2011834+smabuk@users.noreply.github.com>
Date: Wed, 15 Nov 2023 16:31:31 +0000
Subject: [PATCH] Add Smab.Helpers to solution
---
AdventOfCode.sln | 12 ++++++++++++
Directory.Packages.props | 2 +-
Solutions/2015/AdventOfCode.Solutions.2015.csproj | 6 +++++-
Solutions/2018/AdventOfCode.Solutions.2018.csproj | 6 +++++-
Solutions/2018/Day10.cs | 4 ++--
Solutions/2019/AdventOfCode.Solutions.2019.csproj | 6 +++++-
Solutions/2020/AdventOfCode.Solutions.2020.csproj | 6 +++++-
Solutions/2021/AdventOfCode.Solutions.2021.csproj | 6 +++++-
Solutions/2022/AdventOfCode.Solutions.2022.csproj | 6 +++++-
Solutions/2023/AdventOfCode.Solutions.2023.csproj | 6 +++++-
.../Router/AdventOfCode.Solutions.Router.csproj | 5 +++--
11 files changed, 53 insertions(+), 12 deletions(-)
diff --git a/AdventOfCode.sln b/AdventOfCode.sln
index 001c1c6..130066c 100644
--- a/AdventOfCode.sln
+++ b/AdventOfCode.sln
@@ -61,6 +61,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdventOfCode.Tests.2018", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdventOfCode.Tests.2023", "Tests\2023\AdventOfCode.Tests.2023.csproj", "{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}"
EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Smab.Helpers", "..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj", "{FE532B22-6206-4A09-B78F-194A25D89487}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Smab.Helpers.Test", "..\Smab.Helpers\test\Smab.Helpers.Test\Smab.Helpers.Test.csproj", "{D90825D2-2D44-4914-BCB8-3BE9334B3EC0}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -139,6 +143,14 @@ Global
{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FE532B22-6206-4A09-B78F-194A25D89487}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FE532B22-6206-4A09-B78F-194A25D89487}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FE532B22-6206-4A09-B78F-194A25D89487}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FE532B22-6206-4A09-B78F-194A25D89487}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 3df72f8..62f1343 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -11,6 +11,6 @@
-
+
\ No newline at end of file
diff --git a/Solutions/2015/AdventOfCode.Solutions.2015.csproj b/Solutions/2015/AdventOfCode.Solutions.2015.csproj
index 9226428..7d21e33 100644
--- a/Solutions/2015/AdventOfCode.Solutions.2015.csproj
+++ b/Solutions/2015/AdventOfCode.Solutions.2015.csproj
@@ -5,8 +5,12 @@
True
-
+
+
+
+
diff --git a/Solutions/2018/AdventOfCode.Solutions.2018.csproj b/Solutions/2018/AdventOfCode.Solutions.2018.csproj
index 65f178d..1c00345 100644
--- a/Solutions/2018/AdventOfCode.Solutions.2018.csproj
+++ b/Solutions/2018/AdventOfCode.Solutions.2018.csproj
@@ -5,8 +5,12 @@
True
-
+
+
+
+
diff --git a/Solutions/2018/Day10.cs b/Solutions/2018/Day10.cs
index c996320..ccbf948 100644
--- a/Solutions/2018/Day10.cs
+++ b/Solutions/2018/Day10.cs
@@ -37,8 +37,8 @@ private static string Solution1(string[] _)
stars[pointOfLight.Position.X - minX, pointOfLight.Position.Y - minY] = '█';
}
- string ocrString = OcrHelpers.IdentifyMessage(stars.PrintAsStringArray(width: 0), ' ', '█');
- string message = Environment.NewLine + String.Join(Environment.NewLine, stars.PrintAsStringArray(width: 0)); ;
+ string ocrString = OcrHelpers.IdentifyMessage(stars.PrintAsStringArray(width: 0), ' ', '█', 2, OcrHelpers.OcrLetterSize.Large);
+ string message = ocrString + Environment.NewLine + String.Join(Environment.NewLine, stars.PrintAsStringArray(width: 0)); ;
return message;
}
diff --git a/Solutions/2019/AdventOfCode.Solutions.2019.csproj b/Solutions/2019/AdventOfCode.Solutions.2019.csproj
index a540151..92ef529 100644
--- a/Solutions/2019/AdventOfCode.Solutions.2019.csproj
+++ b/Solutions/2019/AdventOfCode.Solutions.2019.csproj
@@ -5,8 +5,12 @@
True
-
+
+
+
+
diff --git a/Solutions/2020/AdventOfCode.Solutions.2020.csproj b/Solutions/2020/AdventOfCode.Solutions.2020.csproj
index 10201d5..e7cc567 100644
--- a/Solutions/2020/AdventOfCode.Solutions.2020.csproj
+++ b/Solutions/2020/AdventOfCode.Solutions.2020.csproj
@@ -5,8 +5,12 @@
True
-
+
+
+
+
diff --git a/Solutions/2021/AdventOfCode.Solutions.2021.csproj b/Solutions/2021/AdventOfCode.Solutions.2021.csproj
index fa923a6..19c7320 100644
--- a/Solutions/2021/AdventOfCode.Solutions.2021.csproj
+++ b/Solutions/2021/AdventOfCode.Solutions.2021.csproj
@@ -5,8 +5,12 @@
True
-
+
+
+
+
diff --git a/Solutions/2022/AdventOfCode.Solutions.2022.csproj b/Solutions/2022/AdventOfCode.Solutions.2022.csproj
index 620aafc..c9f940d 100644
--- a/Solutions/2022/AdventOfCode.Solutions.2022.csproj
+++ b/Solutions/2022/AdventOfCode.Solutions.2022.csproj
@@ -5,8 +5,12 @@
True
-
+
+
+
+
diff --git a/Solutions/2023/AdventOfCode.Solutions.2023.csproj b/Solutions/2023/AdventOfCode.Solutions.2023.csproj
index c045349..877b683 100644
--- a/Solutions/2023/AdventOfCode.Solutions.2023.csproj
+++ b/Solutions/2023/AdventOfCode.Solutions.2023.csproj
@@ -5,8 +5,12 @@
True
-
+
+
+
+
diff --git a/Solutions/Router/AdventOfCode.Solutions.Router.csproj b/Solutions/Router/AdventOfCode.Solutions.Router.csproj
index a79dced..19fb0cf 100644
--- a/Solutions/Router/AdventOfCode.Solutions.Router.csproj
+++ b/Solutions/Router/AdventOfCode.Solutions.Router.csproj
@@ -1,10 +1,11 @@
-
+
+