diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 2ca528e..0000000 --- a/.gitignore +++ /dev/null @@ -1,23 +0,0 @@ -bin/ -obj/ -/packages/ -riderModule.iml -/_ReSharper.Caches/ - -# Rider -.idea/ -*.sln.iml -*.csproj.iml -*.sln.DotSettings.user -*.csproj.DotSettings.user -*.sln.DotSettings -*.csproj.DotSettings -*.sln.DotSettings.user.DotSettings -*.csproj.DotSettings.user.DotSettings -*.sln.DotSettings.user.DotSettings.user - -/Tests/bin/ -/Tests/obj/ - -/Lecture/bin/ -/Lecture/obj/ \ No newline at end of file diff --git a/.idea/.idea.LectureTestingandDebug/.idea/.gitignore b/.idea/.idea.LectureTestingandDebug/.idea/.gitignore deleted file mode 100644 index d261414..0000000 --- a/.idea/.idea.LectureTestingandDebug/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/projectSettingsUpdater.xml -/contentModel.xml -/modules.xml -/.idea.LectureTestingandDebug.iml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/.idea.LectureTestingandDebug/.idea/encodings.xml b/.idea/.idea.LectureTestingandDebug/.idea/encodings.xml deleted file mode 100644 index df87cf9..0000000 --- a/.idea/.idea.LectureTestingandDebug/.idea/encodings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Lecture/Exercises/Conversion.cs b/Lecture/Exercises/Conversion.cs deleted file mode 100644 index 9980e9b..0000000 --- a/Lecture/Exercises/Conversion.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Lecture.Exercises; - -public class Conversion -{ - public static int StringToInt(string number) - { - int res = 0; - - for (int i = 0; i < 6; i++) - { - res = res * 10 + int.Parse(number[i].ToString()); - } - - return res; - } -} \ No newline at end of file diff --git a/Lecture/Lecture.csproj b/Lecture/Lecture.csproj deleted file mode 100644 index 2b14c81..0000000 --- a/Lecture/Lecture.csproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - Exe - net7.0 - enable - enable - - - diff --git a/Lecture/Program.cs b/Lecture/Program.cs deleted file mode 100644 index fa620ca..0000000 --- a/Lecture/Program.cs +++ /dev/null @@ -1,2 +0,0 @@ -Console.WriteLine(Lecture.Exercises.Conversion.StringToInt("123456")); -Console.WriteLine(Lecture.Exercises.Conversion.StringToInt("342523")); \ No newline at end of file diff --git a/LectureTestingandDebug.sln b/LectureTestingandDebug.sln deleted file mode 100644 index 267e821..0000000 --- a/LectureTestingandDebug.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lecture", "Lecture\Lecture.csproj", "{766C00F5-5826-4FB9-B209-76C4208C7E57}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{FEF2827B-7B2A-4DD1-B137-FA2C04914F9E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {766C00F5-5826-4FB9-B209-76C4208C7E57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {766C00F5-5826-4FB9-B209-76C4208C7E57}.Debug|Any CPU.Build.0 = Debug|Any CPU - {766C00F5-5826-4FB9-B209-76C4208C7E57}.Release|Any CPU.ActiveCfg = Release|Any CPU - {766C00F5-5826-4FB9-B209-76C4208C7E57}.Release|Any CPU.Build.0 = Release|Any CPU - {FEF2827B-7B2A-4DD1-B137-FA2C04914F9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FEF2827B-7B2A-4DD1-B137-FA2C04914F9E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FEF2827B-7B2A-4DD1-B137-FA2C04914F9E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FEF2827B-7B2A-4DD1-B137-FA2C04914F9E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal diff --git a/README.md b/README.md deleted file mode 100644 index 0826216..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# Programming CM about Exception and testing diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj deleted file mode 100644 index ba8cf18..0000000 --- a/Tests/Tests.csproj +++ /dev/null @@ -1,25 +0,0 @@ - - - - net7.0 - enable - enable - - false - true - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - diff --git a/Tests/UnitTest1.cs b/Tests/UnitTest1.cs deleted file mode 100644 index 279821b..0000000 --- a/Tests/UnitTest1.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Tests; - -public class UnitTest1 -{ - [Fact] - public void Test1() - { - } -} \ No newline at end of file diff --git a/Tests/Usings.cs b/Tests/Usings.cs deleted file mode 100644 index 8c927eb..0000000 --- a/Tests/Usings.cs +++ /dev/null @@ -1 +0,0 @@ -global using Xunit; \ No newline at end of file