From 588f26458c7d8ecfc1443b8c3df9525b16713c6e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 10 Nov 2021 15:09:57 -0500 Subject: [PATCH] create solution and update all to .net 6 --- Exercism.sln | 277 ++++++++++++++++++ csharp/accumulate/Accumulate.csproj | 2 +- csharp/acronym/Acronym.csproj | 2 +- csharp/allergies/Allergies.csproj | 2 +- .../armstrong-numbers/ArmstrongNumbers.csproj | 2 +- .../AttackOfTheTrolls.csproj | 2 +- .../AuthenticationSystem.csproj | 2 +- csharp/bob/Bob.csproj | 2 +- .../CalculatorConundrum.csproj | 2 +- csharp/circular-buffer/CircularBuffer.csproj | 2 +- csharp/clock/Clock.csproj | 2 +- .../CollatzConjecture.csproj | 2 +- csharp/grade-school/GradeSchool.csproj | 2 +- csharp/hamming/Hamming.csproj | 2 +- csharp/hello-world/HelloWorld.csproj | 2 +- csharp/high-scores/HighScores.csproj | 2 +- csharp/high-scores/HighScoresTests.cs | 18 +- .../InternationalCallingConnoisseur.csproj | 2 +- csharp/isogram/Isogram.csproj | 2 +- .../kindergarten-garden/KindergartenGarden.cs | 33 +-- .../KindergartenGarden.csproj | 2 +- .../KindergartenGardenTest.cs | 16 +- csharp/leap/Leap.csproj | 2 +- csharp/logs-logs-logs/LogsLogsLogs.csproj | 2 +- .../matching-brackets/MatchingBrackets.csproj | 2 +- csharp/need-for-speed/NeedForSpeed.csproj | 2 +- .../nucleotide-count/NucleotideCount.csproj | 2 +- csharp/pangram/Pangram.csproj | 2 +- csharp/raindrops/Raindrops.csproj | 2 +- csharp/resistor-color/ResistorColor.csproj | 2 +- csharp/reverse-string/ReverseString.csproj | 2 +- csharp/robot-name/RobotName.csproj | 2 +- .../rotational-cipher/RotationalCipher.csproj | 2 +- .../SecureMunchesterUnited.csproj | 2 +- csharp/space-age/SpaceAge.csproj | 2 +- csharp/spiral-matrix/SpiralMatrix.csproj | 2 +- csharp/spiral-matrix/SpiralMatrixTests.cs | 10 +- csharp/sum-of-multiples/SumOfMultiples.csproj | 2 +- .../TheWeatherInDeather.csproj | 2 +- csharp/tournament/Tournament.csproj | 2 +- csharp/two-fer/TwoFer.csproj | 2 +- .../WizardsAndWarriors.cs | 2 +- .../WizardsAndWarriors.csproj | 2 +- fsharp/bob/Bob.fsproj | 2 +- fsharp/hello-world/HelloWorld.fsproj | 2 +- fsharp/leap/Leap.fsproj | 2 +- 46 files changed, 352 insertions(+), 84 deletions(-) create mode 100644 Exercism.sln diff --git a/Exercism.sln b/Exercism.sln new file mode 100644 index 0000000..f78f1a6 --- /dev/null +++ b/Exercism.sln @@ -0,0 +1,277 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.31903.286 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accumulate", "csharp\accumulate\Accumulate.csproj", "{36BC796C-F769-4187-9DC9-18D93B3C8038}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Acronym", "csharp\acronym\Acronym.csproj", "{7B5CFEB3-804C-4F13-A5D2-517DFC74239B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Allergies", "csharp\allergies\Allergies.csproj", "{F7292847-F725-4F3D-825F-10D9E98E9347}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ArmstrongNumbers", "csharp\armstrong-numbers\ArmstrongNumbers.csproj", "{EE82D297-6DCD-4C8E-A1D7-91251F6212CC}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AttackOfTheTrolls", "csharp\attack-of-the-trolls\AttackOfTheTrolls.csproj", "{7AFD14F5-B9E9-47C2-80F3-4B720E98634F}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AuthenticationSystem", "csharp\authentication-system\AuthenticationSystem.csproj", "{849D907E-AF8D-4D40-8754-F962337F6EA6}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BinarySearch", "csharp\binary-search\BinarySearch.csproj", "{EB116248-E69E-443B-A51B-04E4AFACA0AB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bob", "csharp\bob\Bob.csproj", "{EC287BAF-EBEE-428A-A73F-2852B70A254F}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CalculatorConundrum", "csharp\calculator-conundrum\CalculatorConundrum.csproj", "{71B6C45F-8B6A-4F92-BE7A-142B5BBB5338}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CircularBuffer", "csharp\circular-buffer\CircularBuffer.csproj", "{CA4E3CBB-694B-4B83-B0C3-37E5D0BDA4E3}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Clock", "csharp\clock\Clock.csproj", "{6236E197-1EA5-4CC0-B111-9F9FAC43339E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CollatzConjecture", "csharp\collatz-conjecture\CollatzConjecture.csproj", "{84850B28-0E52-4EF9-8264-18C45E2385B9}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Etl", "csharp\etl\Etl.csproj", "{6C82B7CE-5FC8-4261-887C-82D676849F2E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GradeSchool", "csharp\grade-school\GradeSchool.csproj", "{CFFDC8C1-DD6F-43F2-AAFB-432D6D5543E5}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Grains", "csharp\grains\Grains.csproj", "{CE6D9F4C-D5F3-4EB6-9C58-7B33A61F066E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hamming", "csharp\hamming\Hamming.csproj", "{2647417E-860B-4295-A4B0-4F961749E447}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloWorld", "csharp\hello-world\HelloWorld.csproj", "{10C6E650-1C3A-44BB-B7BA-70B78F147896}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HighScores", "csharp\high-scores\HighScores.csproj", "{A24CCE8F-1ABC-4530-A525-8F607954835E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InternationalCallingConnoisseur", "csharp\international-calling-connoisseur\InternationalCallingConnoisseur.csproj", "{84876DE5-30FC-4D5D-A677-72E60197A4A7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Isogram", "csharp\isogram\Isogram.csproj", "{ADEE3F5B-9CF6-4912-83B4-A55BD99BB9C6}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KindergartenGarden", "csharp\kindergarten-garden\KindergartenGarden.csproj", "{BBF1DEB0-3D6A-4752-A867-B525BC9E1855}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leap", "csharp\leap\Leap.csproj", "{AB62433C-665A-4ADA-83E6-AC99F718B342}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LogsLogsLogs", "csharp\logs-logs-logs\LogsLogsLogs.csproj", "{D9299298-7DD8-4B3C-9380-BFB8799AE7D8}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MatchingBrackets", "csharp\matching-brackets\MatchingBrackets.csproj", "{E54B2EE8-B9D6-4E0E-B1B9-1117DE5F574B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NeedForSpeed", "csharp\need-for-speed\NeedForSpeed.csproj", "{22918E2D-D62C-4B5C-AE71-4E408087C042}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NucleotideCount", "csharp\nucleotide-count\NucleotideCount.csproj", "{8397787A-6C17-4B87-9FCE-5CE803455148}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Pangram", "csharp\pangram\Pangram.csproj", "{94DC531F-59F5-4845-AF5A-A57C9D84E017}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PhoneNumber", "csharp\phone-number\PhoneNumber.csproj", "{A2B6D7E8-8EAF-48A4-8A80-581FAA5A54E1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Raindrops", "csharp\raindrops\Raindrops.csproj", "{A0DB99AD-D92E-4680-9F7D-9A47BF606A2E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ResistorColor", "csharp\resistor-color\ResistorColor.csproj", "{C36CD587-C333-47DD-B16B-F1F8AF8939EE}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReverseString", "csharp\reverse-string\ReverseString.csproj", "{C808EB4D-E3BB-413C-889B-677B6A8051C1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RobotName", "csharp\robot-name\RobotName.csproj", "{2071ECA9-2ABF-4ECB-B6E2-219DE4981D2B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RotationalCipher", "csharp\rotational-cipher\RotationalCipher.csproj", "{17856656-17EA-4D4A-A205-93E786E05851}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScrabbleScore", "csharp\scrabble-score\ScrabbleScore.csproj", "{19561646-6533-48B7-A149-B27BF660A7D9}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SecureMunchesterUnited", "csharp\secure-munchester-united\SecureMunchesterUnited.csproj", "{78E0260D-02D6-486E-9D77-FE96C9014EC9}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpaceAge", "csharp\space-age\SpaceAge.csproj", "{F1433E5E-9E04-4367-A6DB-87538C5F41AB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpiralMatrix", "csharp\spiral-matrix\SpiralMatrix.csproj", "{B5D9F7C1-6911-4F8B-984B-BBA644F9E190}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Strain", "csharp\strain\Strain.csproj", "{22E576EA-7A0B-48A3-8BBF-4605982FF3ED}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SumOfMultiples", "csharp\sum-of-multiples\SumOfMultiples.csproj", "{835280FB-9CE1-4A50-87E1-07EEF181DC5B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TheWeatherInDeather", "csharp\the-weather-in-deather\TheWeatherInDeather.csproj", "{9FF0C587-7DA4-4A17-8D3D-D0A04A5A2514}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tournament", "csharp\tournament\Tournament.csproj", "{EF1EFEE8-329E-4C9A-AA46-DB28338F992E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TwoFer", "csharp\two-fer\TwoFer.csproj", "{838B3C30-2E55-4352-8045-EBD97755C0D7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WizardsAndWarriors", "csharp\wizards-and-warriors\WizardsAndWarriors.csproj", "{240CFD47-2AEC-49F2-B0B2-884B45E9A27A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {36BC796C-F769-4187-9DC9-18D93B3C8038}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {36BC796C-F769-4187-9DC9-18D93B3C8038}.Debug|Any CPU.Build.0 = Debug|Any CPU + {36BC796C-F769-4187-9DC9-18D93B3C8038}.Release|Any CPU.ActiveCfg = Release|Any CPU + {36BC796C-F769-4187-9DC9-18D93B3C8038}.Release|Any CPU.Build.0 = Release|Any CPU + {7B5CFEB3-804C-4F13-A5D2-517DFC74239B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B5CFEB3-804C-4F13-A5D2-517DFC74239B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B5CFEB3-804C-4F13-A5D2-517DFC74239B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B5CFEB3-804C-4F13-A5D2-517DFC74239B}.Release|Any CPU.Build.0 = Release|Any CPU + {F7292847-F725-4F3D-825F-10D9E98E9347}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F7292847-F725-4F3D-825F-10D9E98E9347}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F7292847-F725-4F3D-825F-10D9E98E9347}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F7292847-F725-4F3D-825F-10D9E98E9347}.Release|Any CPU.Build.0 = Release|Any CPU + {EE82D297-6DCD-4C8E-A1D7-91251F6212CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EE82D297-6DCD-4C8E-A1D7-91251F6212CC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EE82D297-6DCD-4C8E-A1D7-91251F6212CC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EE82D297-6DCD-4C8E-A1D7-91251F6212CC}.Release|Any CPU.Build.0 = Release|Any CPU + {7AFD14F5-B9E9-47C2-80F3-4B720E98634F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7AFD14F5-B9E9-47C2-80F3-4B720E98634F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7AFD14F5-B9E9-47C2-80F3-4B720E98634F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7AFD14F5-B9E9-47C2-80F3-4B720E98634F}.Release|Any CPU.Build.0 = Release|Any CPU + {849D907E-AF8D-4D40-8754-F962337F6EA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {849D907E-AF8D-4D40-8754-F962337F6EA6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {849D907E-AF8D-4D40-8754-F962337F6EA6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {849D907E-AF8D-4D40-8754-F962337F6EA6}.Release|Any CPU.Build.0 = Release|Any CPU + {EB116248-E69E-443B-A51B-04E4AFACA0AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EB116248-E69E-443B-A51B-04E4AFACA0AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EB116248-E69E-443B-A51B-04E4AFACA0AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EB116248-E69E-443B-A51B-04E4AFACA0AB}.Release|Any CPU.Build.0 = Release|Any CPU + {EC287BAF-EBEE-428A-A73F-2852B70A254F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EC287BAF-EBEE-428A-A73F-2852B70A254F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EC287BAF-EBEE-428A-A73F-2852B70A254F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EC287BAF-EBEE-428A-A73F-2852B70A254F}.Release|Any CPU.Build.0 = Release|Any CPU + {71B6C45F-8B6A-4F92-BE7A-142B5BBB5338}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {71B6C45F-8B6A-4F92-BE7A-142B5BBB5338}.Debug|Any CPU.Build.0 = Debug|Any CPU + {71B6C45F-8B6A-4F92-BE7A-142B5BBB5338}.Release|Any CPU.ActiveCfg = Release|Any CPU + {71B6C45F-8B6A-4F92-BE7A-142B5BBB5338}.Release|Any CPU.Build.0 = Release|Any CPU + {CA4E3CBB-694B-4B83-B0C3-37E5D0BDA4E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CA4E3CBB-694B-4B83-B0C3-37E5D0BDA4E3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CA4E3CBB-694B-4B83-B0C3-37E5D0BDA4E3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CA4E3CBB-694B-4B83-B0C3-37E5D0BDA4E3}.Release|Any CPU.Build.0 = Release|Any CPU + {6236E197-1EA5-4CC0-B111-9F9FAC43339E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6236E197-1EA5-4CC0-B111-9F9FAC43339E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6236E197-1EA5-4CC0-B111-9F9FAC43339E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6236E197-1EA5-4CC0-B111-9F9FAC43339E}.Release|Any CPU.Build.0 = Release|Any CPU + {84850B28-0E52-4EF9-8264-18C45E2385B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {84850B28-0E52-4EF9-8264-18C45E2385B9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {84850B28-0E52-4EF9-8264-18C45E2385B9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {84850B28-0E52-4EF9-8264-18C45E2385B9}.Release|Any CPU.Build.0 = Release|Any CPU + {6C82B7CE-5FC8-4261-887C-82D676849F2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C82B7CE-5FC8-4261-887C-82D676849F2E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C82B7CE-5FC8-4261-887C-82D676849F2E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C82B7CE-5FC8-4261-887C-82D676849F2E}.Release|Any CPU.Build.0 = Release|Any CPU + {CFFDC8C1-DD6F-43F2-AAFB-432D6D5543E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CFFDC8C1-DD6F-43F2-AAFB-432D6D5543E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CFFDC8C1-DD6F-43F2-AAFB-432D6D5543E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CFFDC8C1-DD6F-43F2-AAFB-432D6D5543E5}.Release|Any CPU.Build.0 = Release|Any CPU + {CE6D9F4C-D5F3-4EB6-9C58-7B33A61F066E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CE6D9F4C-D5F3-4EB6-9C58-7B33A61F066E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CE6D9F4C-D5F3-4EB6-9C58-7B33A61F066E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CE6D9F4C-D5F3-4EB6-9C58-7B33A61F066E}.Release|Any CPU.Build.0 = Release|Any CPU + {2647417E-860B-4295-A4B0-4F961749E447}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2647417E-860B-4295-A4B0-4F961749E447}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2647417E-860B-4295-A4B0-4F961749E447}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2647417E-860B-4295-A4B0-4F961749E447}.Release|Any CPU.Build.0 = Release|Any CPU + {10C6E650-1C3A-44BB-B7BA-70B78F147896}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {10C6E650-1C3A-44BB-B7BA-70B78F147896}.Debug|Any CPU.Build.0 = Debug|Any CPU + {10C6E650-1C3A-44BB-B7BA-70B78F147896}.Release|Any CPU.ActiveCfg = Release|Any CPU + {10C6E650-1C3A-44BB-B7BA-70B78F147896}.Release|Any CPU.Build.0 = Release|Any CPU + {A24CCE8F-1ABC-4530-A525-8F607954835E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A24CCE8F-1ABC-4530-A525-8F607954835E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A24CCE8F-1ABC-4530-A525-8F607954835E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A24CCE8F-1ABC-4530-A525-8F607954835E}.Release|Any CPU.Build.0 = Release|Any CPU + {84876DE5-30FC-4D5D-A677-72E60197A4A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {84876DE5-30FC-4D5D-A677-72E60197A4A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {84876DE5-30FC-4D5D-A677-72E60197A4A7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {84876DE5-30FC-4D5D-A677-72E60197A4A7}.Release|Any CPU.Build.0 = Release|Any CPU + {ADEE3F5B-9CF6-4912-83B4-A55BD99BB9C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ADEE3F5B-9CF6-4912-83B4-A55BD99BB9C6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ADEE3F5B-9CF6-4912-83B4-A55BD99BB9C6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ADEE3F5B-9CF6-4912-83B4-A55BD99BB9C6}.Release|Any CPU.Build.0 = Release|Any CPU + {BBF1DEB0-3D6A-4752-A867-B525BC9E1855}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BBF1DEB0-3D6A-4752-A867-B525BC9E1855}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BBF1DEB0-3D6A-4752-A867-B525BC9E1855}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BBF1DEB0-3D6A-4752-A867-B525BC9E1855}.Release|Any CPU.Build.0 = Release|Any CPU + {AB62433C-665A-4ADA-83E6-AC99F718B342}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AB62433C-665A-4ADA-83E6-AC99F718B342}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AB62433C-665A-4ADA-83E6-AC99F718B342}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AB62433C-665A-4ADA-83E6-AC99F718B342}.Release|Any CPU.Build.0 = Release|Any CPU + {D9299298-7DD8-4B3C-9380-BFB8799AE7D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D9299298-7DD8-4B3C-9380-BFB8799AE7D8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D9299298-7DD8-4B3C-9380-BFB8799AE7D8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D9299298-7DD8-4B3C-9380-BFB8799AE7D8}.Release|Any CPU.Build.0 = Release|Any CPU + {E54B2EE8-B9D6-4E0E-B1B9-1117DE5F574B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E54B2EE8-B9D6-4E0E-B1B9-1117DE5F574B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E54B2EE8-B9D6-4E0E-B1B9-1117DE5F574B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E54B2EE8-B9D6-4E0E-B1B9-1117DE5F574B}.Release|Any CPU.Build.0 = Release|Any CPU + {22918E2D-D62C-4B5C-AE71-4E408087C042}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {22918E2D-D62C-4B5C-AE71-4E408087C042}.Debug|Any CPU.Build.0 = Debug|Any CPU + {22918E2D-D62C-4B5C-AE71-4E408087C042}.Release|Any CPU.ActiveCfg = Release|Any CPU + {22918E2D-D62C-4B5C-AE71-4E408087C042}.Release|Any CPU.Build.0 = Release|Any CPU + {8397787A-6C17-4B87-9FCE-5CE803455148}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8397787A-6C17-4B87-9FCE-5CE803455148}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8397787A-6C17-4B87-9FCE-5CE803455148}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8397787A-6C17-4B87-9FCE-5CE803455148}.Release|Any CPU.Build.0 = Release|Any CPU + {94DC531F-59F5-4845-AF5A-A57C9D84E017}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94DC531F-59F5-4845-AF5A-A57C9D84E017}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94DC531F-59F5-4845-AF5A-A57C9D84E017}.Release|Any CPU.ActiveCfg = Release|Any CPU + {94DC531F-59F5-4845-AF5A-A57C9D84E017}.Release|Any CPU.Build.0 = Release|Any CPU + {A2B6D7E8-8EAF-48A4-8A80-581FAA5A54E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A2B6D7E8-8EAF-48A4-8A80-581FAA5A54E1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A2B6D7E8-8EAF-48A4-8A80-581FAA5A54E1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A2B6D7E8-8EAF-48A4-8A80-581FAA5A54E1}.Release|Any CPU.Build.0 = Release|Any CPU + {A0DB99AD-D92E-4680-9F7D-9A47BF606A2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A0DB99AD-D92E-4680-9F7D-9A47BF606A2E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A0DB99AD-D92E-4680-9F7D-9A47BF606A2E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A0DB99AD-D92E-4680-9F7D-9A47BF606A2E}.Release|Any CPU.Build.0 = Release|Any CPU + {C36CD587-C333-47DD-B16B-F1F8AF8939EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C36CD587-C333-47DD-B16B-F1F8AF8939EE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C36CD587-C333-47DD-B16B-F1F8AF8939EE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C36CD587-C333-47DD-B16B-F1F8AF8939EE}.Release|Any CPU.Build.0 = Release|Any CPU + {C808EB4D-E3BB-413C-889B-677B6A8051C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C808EB4D-E3BB-413C-889B-677B6A8051C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C808EB4D-E3BB-413C-889B-677B6A8051C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C808EB4D-E3BB-413C-889B-677B6A8051C1}.Release|Any CPU.Build.0 = Release|Any CPU + {2071ECA9-2ABF-4ECB-B6E2-219DE4981D2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2071ECA9-2ABF-4ECB-B6E2-219DE4981D2B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2071ECA9-2ABF-4ECB-B6E2-219DE4981D2B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2071ECA9-2ABF-4ECB-B6E2-219DE4981D2B}.Release|Any CPU.Build.0 = Release|Any CPU + {17856656-17EA-4D4A-A205-93E786E05851}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {17856656-17EA-4D4A-A205-93E786E05851}.Debug|Any CPU.Build.0 = Debug|Any CPU + {17856656-17EA-4D4A-A205-93E786E05851}.Release|Any CPU.ActiveCfg = Release|Any CPU + {17856656-17EA-4D4A-A205-93E786E05851}.Release|Any CPU.Build.0 = Release|Any CPU + {19561646-6533-48B7-A149-B27BF660A7D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {19561646-6533-48B7-A149-B27BF660A7D9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {19561646-6533-48B7-A149-B27BF660A7D9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {19561646-6533-48B7-A149-B27BF660A7D9}.Release|Any CPU.Build.0 = Release|Any CPU + {78E0260D-02D6-486E-9D77-FE96C9014EC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {78E0260D-02D6-486E-9D77-FE96C9014EC9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {78E0260D-02D6-486E-9D77-FE96C9014EC9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {78E0260D-02D6-486E-9D77-FE96C9014EC9}.Release|Any CPU.Build.0 = Release|Any CPU + {F1433E5E-9E04-4367-A6DB-87538C5F41AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F1433E5E-9E04-4367-A6DB-87538C5F41AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F1433E5E-9E04-4367-A6DB-87538C5F41AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F1433E5E-9E04-4367-A6DB-87538C5F41AB}.Release|Any CPU.Build.0 = Release|Any CPU + {B5D9F7C1-6911-4F8B-984B-BBA644F9E190}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B5D9F7C1-6911-4F8B-984B-BBA644F9E190}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B5D9F7C1-6911-4F8B-984B-BBA644F9E190}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B5D9F7C1-6911-4F8B-984B-BBA644F9E190}.Release|Any CPU.Build.0 = Release|Any CPU + {22E576EA-7A0B-48A3-8BBF-4605982FF3ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {22E576EA-7A0B-48A3-8BBF-4605982FF3ED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {22E576EA-7A0B-48A3-8BBF-4605982FF3ED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {22E576EA-7A0B-48A3-8BBF-4605982FF3ED}.Release|Any CPU.Build.0 = Release|Any CPU + {835280FB-9CE1-4A50-87E1-07EEF181DC5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {835280FB-9CE1-4A50-87E1-07EEF181DC5B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {835280FB-9CE1-4A50-87E1-07EEF181DC5B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {835280FB-9CE1-4A50-87E1-07EEF181DC5B}.Release|Any CPU.Build.0 = Release|Any CPU + {9FF0C587-7DA4-4A17-8D3D-D0A04A5A2514}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9FF0C587-7DA4-4A17-8D3D-D0A04A5A2514}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9FF0C587-7DA4-4A17-8D3D-D0A04A5A2514}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9FF0C587-7DA4-4A17-8D3D-D0A04A5A2514}.Release|Any CPU.Build.0 = Release|Any CPU + {EF1EFEE8-329E-4C9A-AA46-DB28338F992E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EF1EFEE8-329E-4C9A-AA46-DB28338F992E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EF1EFEE8-329E-4C9A-AA46-DB28338F992E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EF1EFEE8-329E-4C9A-AA46-DB28338F992E}.Release|Any CPU.Build.0 = Release|Any CPU + {838B3C30-2E55-4352-8045-EBD97755C0D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {838B3C30-2E55-4352-8045-EBD97755C0D7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {838B3C30-2E55-4352-8045-EBD97755C0D7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {838B3C30-2E55-4352-8045-EBD97755C0D7}.Release|Any CPU.Build.0 = Release|Any CPU + {240CFD47-2AEC-49F2-B0B2-884B45E9A27A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {240CFD47-2AEC-49F2-B0B2-884B45E9A27A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {240CFD47-2AEC-49F2-B0B2-884B45E9A27A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {240CFD47-2AEC-49F2-B0B2-884B45E9A27A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {49E47185-5199-4C59-BC30-0536FADEAD3E} + EndGlobalSection +EndGlobal diff --git a/csharp/accumulate/Accumulate.csproj b/csharp/accumulate/Accumulate.csproj index 082b3bb..0e4db5c 100644 --- a/csharp/accumulate/Accumulate.csproj +++ b/csharp/accumulate/Accumulate.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/acronym/Acronym.csproj b/csharp/acronym/Acronym.csproj index b1fd4bf..cf139a4 100644 --- a/csharp/acronym/Acronym.csproj +++ b/csharp/acronym/Acronym.csproj @@ -2,7 +2,7 @@ - net5.0 + net6.0 diff --git a/csharp/allergies/Allergies.csproj b/csharp/allergies/Allergies.csproj index d9293a4..bf6befb 100644 --- a/csharp/allergies/Allergies.csproj +++ b/csharp/allergies/Allergies.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/armstrong-numbers/ArmstrongNumbers.csproj b/csharp/armstrong-numbers/ArmstrongNumbers.csproj index 082b3bb..0e4db5c 100644 --- a/csharp/armstrong-numbers/ArmstrongNumbers.csproj +++ b/csharp/armstrong-numbers/ArmstrongNumbers.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/attack-of-the-trolls/AttackOfTheTrolls.csproj b/csharp/attack-of-the-trolls/AttackOfTheTrolls.csproj index 34d13a4..924b99b 100644 --- a/csharp/attack-of-the-trolls/AttackOfTheTrolls.csproj +++ b/csharp/attack-of-the-trolls/AttackOfTheTrolls.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 diff --git a/csharp/authentication-system/AuthenticationSystem.csproj b/csharp/authentication-system/AuthenticationSystem.csproj index d9293a4..bf6befb 100644 --- a/csharp/authentication-system/AuthenticationSystem.csproj +++ b/csharp/authentication-system/AuthenticationSystem.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/bob/Bob.csproj b/csharp/bob/Bob.csproj index 082b3bb..0e4db5c 100644 --- a/csharp/bob/Bob.csproj +++ b/csharp/bob/Bob.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/calculator-conundrum/CalculatorConundrum.csproj b/csharp/calculator-conundrum/CalculatorConundrum.csproj index 89837a1..12af9b4 100644 --- a/csharp/calculator-conundrum/CalculatorConundrum.csproj +++ b/csharp/calculator-conundrum/CalculatorConundrum.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/circular-buffer/CircularBuffer.csproj b/csharp/circular-buffer/CircularBuffer.csproj index d9293a4..bf6befb 100644 --- a/csharp/circular-buffer/CircularBuffer.csproj +++ b/csharp/circular-buffer/CircularBuffer.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/clock/Clock.csproj b/csharp/clock/Clock.csproj index d9293a4..bf6befb 100644 --- a/csharp/clock/Clock.csproj +++ b/csharp/clock/Clock.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/collatz-conjecture/CollatzConjecture.csproj b/csharp/collatz-conjecture/CollatzConjecture.csproj index c4945ac..57d6140 100644 --- a/csharp/collatz-conjecture/CollatzConjecture.csproj +++ b/csharp/collatz-conjecture/CollatzConjecture.csproj @@ -1,7 +1,7 @@  - netcoreapp2.0 + net6.0 diff --git a/csharp/grade-school/GradeSchool.csproj b/csharp/grade-school/GradeSchool.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/grade-school/GradeSchool.csproj +++ b/csharp/grade-school/GradeSchool.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/hamming/Hamming.csproj b/csharp/hamming/Hamming.csproj index ca4ca69..832ffac 100644 --- a/csharp/hamming/Hamming.csproj +++ b/csharp/hamming/Hamming.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/hello-world/HelloWorld.csproj b/csharp/hello-world/HelloWorld.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/hello-world/HelloWorld.csproj +++ b/csharp/hello-world/HelloWorld.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/high-scores/HighScores.csproj b/csharp/high-scores/HighScores.csproj index ca4ca69..832ffac 100644 --- a/csharp/high-scores/HighScores.csproj +++ b/csharp/high-scores/HighScores.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/high-scores/HighScoresTests.cs b/csharp/high-scores/HighScoresTests.cs index 722802a..34e42b3 100644 --- a/csharp/high-scores/HighScoresTests.cs +++ b/csharp/high-scores/HighScoresTests.cs @@ -10,56 +10,56 @@ public class HighScoresTests Assert.Equal(new List { 30, 50, 20, 70 }, sut.Scores()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Latest_score() { var sut = new HighScores(new List { 100, 0, 90, 30 }); Assert.Equal(30, sut.Latest()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Personal_best() { var sut = new HighScores(new List { 40, 100, 70 }); Assert.Equal(100, sut.PersonalBest()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Personal_top_three_from_a_list_of_scores() { var sut = new HighScores(new List { 10, 30, 90, 30, 100, 20, 10, 0, 30, 40, 40, 70, 70 }); Assert.Equal(new List { 100, 90, 70 }, sut.PersonalTopThree()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Personal_top_highest_to_lowest() { var sut = new HighScores(new List { 20, 10, 30 }); Assert.Equal(new List { 30, 20, 10 }, sut.PersonalTopThree()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Personal_top_when_there_is_a_tie() { var sut = new HighScores(new List { 40, 20, 40, 30 }); Assert.Equal(new List { 40, 40, 30 }, sut.PersonalTopThree()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Personal_top_when_there_are_less_than_3() { var sut = new HighScores(new List { 30, 70 }); Assert.Equal(new List { 70, 30 }, sut.PersonalTopThree()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Personal_top_when_there_is_only_one() { var sut = new HighScores(new List { 40 }); Assert.Equal(new List { 40 }, sut.PersonalTopThree()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Latest_score_should_not_change_after_calling_personal_best() { var sut = new HighScores(new List { 20, 10, 30, 3, 2, 1 }); @@ -67,7 +67,7 @@ public class HighScoresTests Assert.Equal(1, sut.Latest()); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Latest_score_should_not_change_after_calling_personal_top_three() { var sut = new HighScores(new List { 20, 100, 30, 90, 2, 70 }); diff --git a/csharp/international-calling-connoisseur/InternationalCallingConnoisseur.csproj b/csharp/international-calling-connoisseur/InternationalCallingConnoisseur.csproj index d9293a4..bf6befb 100644 --- a/csharp/international-calling-connoisseur/InternationalCallingConnoisseur.csproj +++ b/csharp/international-calling-connoisseur/InternationalCallingConnoisseur.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/isogram/Isogram.csproj b/csharp/isogram/Isogram.csproj index ca4ca69..832ffac 100644 --- a/csharp/isogram/Isogram.csproj +++ b/csharp/isogram/Isogram.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/kindergarten-garden/KindergartenGarden.cs b/csharp/kindergarten-garden/KindergartenGarden.cs index d0f690e..1c60644 100644 --- a/csharp/kindergarten-garden/KindergartenGarden.cs +++ b/csharp/kindergarten-garden/KindergartenGarden.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; public enum Plant @@ -12,8 +11,9 @@ public enum Plant public class KindergartenGarden { - private List roster; - private Dictionary> plants; + private readonly List roster; + private readonly string row1; + private readonly string row2; private static readonly IDictionary PlantCodesToPlants = new Dictionary { @@ -25,32 +25,23 @@ public class KindergartenGarden public KindergartenGarden(string diagram) { + var plants = diagram.Split('\n'); + row1 = plants[0]; row2 = plants[1]; + roster = new List { "Alice", "Bob", "Charlie", "David", "Eve", "Fred", "Ginny", "Harriet", "Ileana", "Joseph", "Kincaid", "Larry" }; - BuildFromDiagram(diagram); - } - - public KindergartenGarden(string diagram, IEnumerable students) - { - roster = students.ToList(); - BuildFromDiagram(diagram); - } - - private void BuildFromDiagram(string diagram) - { - var rows = diagram.Split("\n"); - foreach (var student in roster) - { - - } } public IEnumerable Plants(string student) { - throw new NotImplementedException("You need to implement this function."); + var i = 2 * roster.IndexOf(student); + var plants = new List(); + plants.AddRange(row1[i..(i + 2)].Select(p => PlantCodesToPlants[p])); + plants.AddRange(row2[i..(i + 2)].Select(p => PlantCodesToPlants[p])); + return plants; } } \ No newline at end of file diff --git a/csharp/kindergarten-garden/KindergartenGarden.csproj b/csharp/kindergarten-garden/KindergartenGarden.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/kindergarten-garden/KindergartenGarden.csproj +++ b/csharp/kindergarten-garden/KindergartenGarden.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/kindergarten-garden/KindergartenGardenTest.cs b/csharp/kindergarten-garden/KindergartenGardenTest.cs index 550d98b..8fe44f1 100644 --- a/csharp/kindergarten-garden/KindergartenGardenTest.cs +++ b/csharp/kindergarten-garden/KindergartenGardenTest.cs @@ -11,56 +11,56 @@ public class KindergartenGardenTest Assert.Equal(new[] { Plant.Radishes, Plant.Clover, Plant.Grass, Plant.Grass }, sut.Plants("Alice")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Partial_garden_different_garden_with_single_student() { var sut = new KindergartenGarden("VC\nRC"); Assert.Equal(new[] { Plant.Violets, Plant.Clover, Plant.Radishes, Plant.Clover }, sut.Plants("Alice")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Partial_garden_garden_with_two_students() { var sut = new KindergartenGarden("VVCG\nVVRC"); Assert.Equal(new[] { Plant.Clover, Plant.Grass, Plant.Radishes, Plant.Clover }, sut.Plants("Bob")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Partial_garden_multiple_students_for_the_same_garden_with_three_students_second_students_garden() { var sut = new KindergartenGarden("VVCCGG\nVVCCGG"); Assert.Equal(new[] { Plant.Clover, Plant.Clover, Plant.Clover, Plant.Clover }, sut.Plants("Bob")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Partial_garden_multiple_students_for_the_same_garden_with_three_students_third_students_garden() { var sut = new KindergartenGarden("VVCCGG\nVVCCGG"); Assert.Equal(new[] { Plant.Grass, Plant.Grass, Plant.Grass, Plant.Grass }, sut.Plants("Charlie")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Full_garden_first_students_garden() { var sut = new KindergartenGarden("VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV"); Assert.Equal(new[] { Plant.Violets, Plant.Radishes, Plant.Violets, Plant.Radishes }, sut.Plants("Alice")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Full_garden_second_students_garden() { var sut = new KindergartenGarden("VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV"); Assert.Equal(new[] { Plant.Clover, Plant.Grass, Plant.Clover, Plant.Clover }, sut.Plants("Bob")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Full_garden_second_to_last_students_garden() { var sut = new KindergartenGarden("VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV"); Assert.Equal(new[] { Plant.Grass, Plant.Clover, Plant.Clover, Plant.Grass }, sut.Plants("Kincaid")); } - [Fact(Skip = "Remove to run test")] + [Fact] public void Full_garden_last_students_garden() { var sut = new KindergartenGarden("VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV"); diff --git a/csharp/leap/Leap.csproj b/csharp/leap/Leap.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/leap/Leap.csproj +++ b/csharp/leap/Leap.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/logs-logs-logs/LogsLogsLogs.csproj b/csharp/logs-logs-logs/LogsLogsLogs.csproj index 34d13a4..924b99b 100644 --- a/csharp/logs-logs-logs/LogsLogsLogs.csproj +++ b/csharp/logs-logs-logs/LogsLogsLogs.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 diff --git a/csharp/matching-brackets/MatchingBrackets.csproj b/csharp/matching-brackets/MatchingBrackets.csproj index d9293a4..bf6befb 100644 --- a/csharp/matching-brackets/MatchingBrackets.csproj +++ b/csharp/matching-brackets/MatchingBrackets.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/need-for-speed/NeedForSpeed.csproj b/csharp/need-for-speed/NeedForSpeed.csproj index 34d13a4..924b99b 100644 --- a/csharp/need-for-speed/NeedForSpeed.csproj +++ b/csharp/need-for-speed/NeedForSpeed.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 diff --git a/csharp/nucleotide-count/NucleotideCount.csproj b/csharp/nucleotide-count/NucleotideCount.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/nucleotide-count/NucleotideCount.csproj +++ b/csharp/nucleotide-count/NucleotideCount.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/pangram/Pangram.csproj b/csharp/pangram/Pangram.csproj index ca4ca69..832ffac 100644 --- a/csharp/pangram/Pangram.csproj +++ b/csharp/pangram/Pangram.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/raindrops/Raindrops.csproj b/csharp/raindrops/Raindrops.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/raindrops/Raindrops.csproj +++ b/csharp/raindrops/Raindrops.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/resistor-color/ResistorColor.csproj b/csharp/resistor-color/ResistorColor.csproj index d9293a4..bf6befb 100644 --- a/csharp/resistor-color/ResistorColor.csproj +++ b/csharp/resistor-color/ResistorColor.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/reverse-string/ReverseString.csproj b/csharp/reverse-string/ReverseString.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/reverse-string/ReverseString.csproj +++ b/csharp/reverse-string/ReverseString.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/robot-name/RobotName.csproj b/csharp/robot-name/RobotName.csproj index ca4ca69..832ffac 100644 --- a/csharp/robot-name/RobotName.csproj +++ b/csharp/robot-name/RobotName.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/rotational-cipher/RotationalCipher.csproj b/csharp/rotational-cipher/RotationalCipher.csproj index ca4ca69..832ffac 100644 --- a/csharp/rotational-cipher/RotationalCipher.csproj +++ b/csharp/rotational-cipher/RotationalCipher.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/secure-munchester-united/SecureMunchesterUnited.csproj b/csharp/secure-munchester-united/SecureMunchesterUnited.csproj index d9293a4..bf6befb 100644 --- a/csharp/secure-munchester-united/SecureMunchesterUnited.csproj +++ b/csharp/secure-munchester-united/SecureMunchesterUnited.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/space-age/SpaceAge.csproj b/csharp/space-age/SpaceAge.csproj index ca4ca69..832ffac 100644 --- a/csharp/space-age/SpaceAge.csproj +++ b/csharp/space-age/SpaceAge.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/spiral-matrix/SpiralMatrix.csproj b/csharp/spiral-matrix/SpiralMatrix.csproj index 3f97e13..06dad69 100644 --- a/csharp/spiral-matrix/SpiralMatrix.csproj +++ b/csharp/spiral-matrix/SpiralMatrix.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 diff --git a/csharp/spiral-matrix/SpiralMatrixTests.cs b/csharp/spiral-matrix/SpiralMatrixTests.cs index 0cd3126..155f37c 100644 --- a/csharp/spiral-matrix/SpiralMatrixTests.cs +++ b/csharp/spiral-matrix/SpiralMatrixTests.cs @@ -8,7 +8,7 @@ public class SpiralMatrixTests Assert.Empty(SpiralMatrix.GetMatrix(0)); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Trivial_spiral() { var expected = new[,] @@ -18,7 +18,7 @@ public class SpiralMatrixTests Assert.Equal(expected, SpiralMatrix.GetMatrix(1)); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Spiral_of_size_2() { var expected = new[,] @@ -29,7 +29,7 @@ public class SpiralMatrixTests Assert.Equal(expected, SpiralMatrix.GetMatrix(2)); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Spiral_of_size_3() { var expected = new[,] @@ -41,7 +41,7 @@ public class SpiralMatrixTests Assert.Equal(expected, SpiralMatrix.GetMatrix(3)); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Spiral_of_size_4() { var expected = new[,] @@ -54,7 +54,7 @@ public class SpiralMatrixTests Assert.Equal(expected, SpiralMatrix.GetMatrix(4)); } - [Fact(Skip = "Remove this Skip property to run this test")] + [Fact] public void Spiral_of_size_5() { var expected = new[,] diff --git a/csharp/sum-of-multiples/SumOfMultiples.csproj b/csharp/sum-of-multiples/SumOfMultiples.csproj index f9dbcdc..df0d6d0 100644 --- a/csharp/sum-of-multiples/SumOfMultiples.csproj +++ b/csharp/sum-of-multiples/SumOfMultiples.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 diff --git a/csharp/the-weather-in-deather/TheWeatherInDeather.csproj b/csharp/the-weather-in-deather/TheWeatherInDeather.csproj index d9293a4..bf6befb 100644 --- a/csharp/the-weather-in-deather/TheWeatherInDeather.csproj +++ b/csharp/the-weather-in-deather/TheWeatherInDeather.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/tournament/Tournament.csproj b/csharp/tournament/Tournament.csproj index ca4ca69..832ffac 100644 --- a/csharp/tournament/Tournament.csproj +++ b/csharp/tournament/Tournament.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 diff --git a/csharp/two-fer/TwoFer.csproj b/csharp/two-fer/TwoFer.csproj index c4945ac..57d6140 100644 --- a/csharp/two-fer/TwoFer.csproj +++ b/csharp/two-fer/TwoFer.csproj @@ -1,7 +1,7 @@  - netcoreapp2.0 + net6.0 diff --git a/csharp/wizards-and-warriors/WizardsAndWarriors.cs b/csharp/wizards-and-warriors/WizardsAndWarriors.cs index 16cf7ef..e7a3d7a 100644 --- a/csharp/wizards-and-warriors/WizardsAndWarriors.cs +++ b/csharp/wizards-and-warriors/WizardsAndWarriors.cs @@ -35,7 +35,7 @@ class Wizard : Character public override bool Vulnerable() => vulnerable; - public override int DamagePoints(Character target) => vulnerable ? 12 : 3; + public override int DamagePoints(Character target) => vulnerable ? 3 : 12; public void PrepareSpell() => vulnerable = false; } diff --git a/csharp/wizards-and-warriors/WizardsAndWarriors.csproj b/csharp/wizards-and-warriors/WizardsAndWarriors.csproj index 34d13a4..924b99b 100644 --- a/csharp/wizards-and-warriors/WizardsAndWarriors.csproj +++ b/csharp/wizards-and-warriors/WizardsAndWarriors.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 diff --git a/fsharp/bob/Bob.fsproj b/fsharp/bob/Bob.fsproj index e586084..ec06bfc 100644 --- a/fsharp/bob/Bob.fsproj +++ b/fsharp/bob/Bob.fsproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 false diff --git a/fsharp/hello-world/HelloWorld.fsproj b/fsharp/hello-world/HelloWorld.fsproj index 5fcae56..6388af4 100644 --- a/fsharp/hello-world/HelloWorld.fsproj +++ b/fsharp/hello-world/HelloWorld.fsproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 false diff --git a/fsharp/leap/Leap.fsproj b/fsharp/leap/Leap.fsproj index 6402d54..9fcc1c0 100644 --- a/fsharp/leap/Leap.fsproj +++ b/fsharp/leap/Leap.fsproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + net6.0 false