diff --git a/AppsLab.CSharp.Exercises.sln b/AppsLab.CSharp.Exercises.sln
index 58bbf6b5..d47441a8 100644
--- a/AppsLab.CSharp.Exercises.sln
+++ b/AppsLab.CSharp.Exercises.sln
@@ -21,8 +21,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppsLab-007-Casting", "src\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppsLab-007-Casting.Tests", "tests\AppsLab-007-Casting.Tests\AppsLab-007-Casting.Tests.csproj", "{5B78F61E-B52C-4920-BE97-42AADFAA726F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppsLab-008-ConsoleReadLine", "src\AppsLab-008-ConsoleReadLine\AppsLab-008-ConsoleReadLine.csproj", "{5314C734-E722-4454-A772-D0F4641E1563}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppsLab-009-Operators", "src\AppsLab-009-Operators\AppsLab-009-Operators.csproj", "{B6030D54-19E2-40EF-8C93-17669CEC23E0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppsLab-009-Operators.Tests", "tests\AppsLab-009-Operators.Tests\AppsLab-009-Operators.Tests.csproj", "{A6659FD2-5F11-432B-91B7-C64EAEAF669C}"
@@ -93,10 +91,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppsLab-033-NuGet", "src\Ap
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppsLab-034-Debug", "src\AppsLab-034-Debug\AppsLab-034-Debug.csproj", "{83C963FD-DC23-46E8-9545-F56197164810}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "homework", "homework\homework.csproj", "{CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}"
+EndProject
Global
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
@@ -190,18 +187,6 @@ Global
{5B78F61E-B52C-4920-BE97-42AADFAA726F}.Release|x64.Build.0 = Release|Any CPU
{5B78F61E-B52C-4920-BE97-42AADFAA726F}.Release|x86.ActiveCfg = Release|Any CPU
{5B78F61E-B52C-4920-BE97-42AADFAA726F}.Release|x86.Build.0 = Release|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Debug|x64.ActiveCfg = Debug|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Debug|x64.Build.0 = Debug|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Debug|x86.ActiveCfg = Debug|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Debug|x86.Build.0 = Debug|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Release|Any CPU.Build.0 = Release|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Release|x64.ActiveCfg = Release|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Release|x64.Build.0 = Release|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Release|x86.ActiveCfg = Release|Any CPU
- {5314C734-E722-4454-A772-D0F4641E1563}.Release|x86.Build.0 = Release|Any CPU
{B6030D54-19E2-40EF-8C93-17669CEC23E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B6030D54-19E2-40EF-8C93-17669CEC23E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B6030D54-19E2-40EF-8C93-17669CEC23E0}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -226,18 +211,6 @@ Global
{A6659FD2-5F11-432B-91B7-C64EAEAF669C}.Release|x64.Build.0 = Release|Any CPU
{A6659FD2-5F11-432B-91B7-C64EAEAF669C}.Release|x86.ActiveCfg = Release|Any CPU
{A6659FD2-5F11-432B-91B7-C64EAEAF669C}.Release|x86.Build.0 = Release|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Debug|x64.ActiveCfg = Debug|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Debug|x64.Build.0 = Debug|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Debug|x86.ActiveCfg = Debug|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Debug|x86.Build.0 = Debug|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Release|Any CPU.Build.0 = Release|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Release|x64.ActiveCfg = Release|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Release|x64.Build.0 = Release|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Release|x86.ActiveCfg = Release|Any CPU
- {B141B973-9C0B-4512-B8B4-1237B596A8D2}.Release|x86.Build.0 = Release|Any CPU
{FD645D4C-9DC8-4603-A77B-8A4782F175F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FD645D4C-9DC8-4603-A77B-8A4782F175F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FD645D4C-9DC8-4603-A77B-8A4782F175F4}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -634,6 +607,21 @@ Global
{83C963FD-DC23-46E8-9545-F56197164810}.Release|x64.Build.0 = Release|Any CPU
{83C963FD-DC23-46E8-9545-F56197164810}.Release|x86.ActiveCfg = Release|Any CPU
{83C963FD-DC23-46E8-9545-F56197164810}.Release|x86.Build.0 = Release|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Debug|x64.Build.0 = Debug|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Debug|x86.Build.0 = Debug|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Release|x64.ActiveCfg = Release|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Release|x64.Build.0 = Release|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Release|x86.ActiveCfg = Release|Any CPU
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1}.Release|x86.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{57860CA2-0054-465E-BD1E-024FF8D81354} = {56555FB0-B513-49EF-9002-A5AF135EA090}
@@ -643,7 +631,6 @@ Global
{F1E80A4A-241C-496D-92D6-B047A0EAF030} = {56555FB0-B513-49EF-9002-A5AF135EA090}
{AEEAB66C-8B62-4844-A721-1FA49E82FDEB} = {56555FB0-B513-49EF-9002-A5AF135EA090}
{5B78F61E-B52C-4920-BE97-42AADFAA726F} = {FC89E9B9-1723-4328-B6F1-00EE62E6260F}
- {5314C734-E722-4454-A772-D0F4641E1563} = {56555FB0-B513-49EF-9002-A5AF135EA090}
{B6030D54-19E2-40EF-8C93-17669CEC23E0} = {56555FB0-B513-49EF-9002-A5AF135EA090}
{A6659FD2-5F11-432B-91B7-C64EAEAF669C} = {FC89E9B9-1723-4328-B6F1-00EE62E6260F}
{FD645D4C-9DC8-4603-A77B-8A4782F175F4} = {56555FB0-B513-49EF-9002-A5AF135EA090}
@@ -679,5 +666,9 @@ Global
{7BEA7878-B5BA-4480-BC56-2F7B836F64B9} = {56555FB0-B513-49EF-9002-A5AF135EA090}
{38FFE1DF-4B49-40C1-9908-51860BCF2D3E} = {56555FB0-B513-49EF-9002-A5AF135EA090}
{83C963FD-DC23-46E8-9545-F56197164810} = {56555FB0-B513-49EF-9002-A5AF135EA090}
+ {CA90FDFB-E288-4BF3-AB5B-1493DB12F4C1} = {56555FB0-B513-49EF-9002-A5AF135EA090}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {31F49123-4C4A-4A0F-8756-A7035ED3F281}
EndGlobalSection
EndGlobal
diff --git a/ConsoleApp1/ConsoleApp1.csproj b/ConsoleApp1/ConsoleApp1.csproj
new file mode 100644
index 00000000..2150e379
--- /dev/null
+++ b/ConsoleApp1/ConsoleApp1.csproj
@@ -0,0 +1,10 @@
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
diff --git a/ConsoleApp1/Program.cs b/ConsoleApp1/Program.cs
new file mode 100644
index 00000000..2325680a
--- /dev/null
+++ b/ConsoleApp1/Program.cs
@@ -0,0 +1,36 @@
+
+string cislo1 = Console.ReadLine ();
+decimal prvecislo = decimal.Parse (cislo1);
+string operacia = Console.ReadLine();
+string cislo2 = Console.ReadLine();
+decimal druhecislo = decimal.Parse (cislo2);
+
+if (operacia == "-")
+{
+ decimal vysledok = prvecislo - druhecislo;
+ Console.WriteLine($"vysledok je {vysledok}");
+}
+
+else if (operacia == "+")
+{
+ decimal vysledok = prvecislo + druhecislo;
+ Console.WriteLine($"Vysledok je {vysledok}.");
+}
+
+else if (operacia == "*")
+{
+ decimal vysledok = prvecislo * druhecislo;
+ Console.WriteLine($"Vysledok je{vysledok}.");
+}
+else if (operacia == "/")
+{
+ decimal vysledok = prvecislo / druhecislo;
+ Console.WriteLine($"Vysledok je {vysledok}");
+}
+
+else if (operacia == "%")
+{
+ decimal vysledok = prvecislo % druhecislo;
+ Console.WriteLine($"Vysledok je:{vysledok}.");
+}
+Console.WriteLine("dakujem ze si pouzil moju kalkulacku dovidenia");
\ No newline at end of file
diff --git a/domaci coding for fun/Program.cs b/domaci coding for fun/Program.cs
new file mode 100644
index 00000000..5f282702
--- /dev/null
+++ b/domaci coding for fun/Program.cs
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/domaci coding for fun/domacicodingforfun.csproj b/domaci coding for fun/domacicodingforfun.csproj
new file mode 100644
index 00000000..ae46458c
--- /dev/null
+++ b/domaci coding for fun/domacicodingforfun.csproj
@@ -0,0 +1,11 @@
+
+
+
+ Exe
+ net8.0
+ domaci_coding_for_fun
+ enable
+ enable
+
+
+
diff --git a/homework/Program.cs b/homework/Program.cs
new file mode 100644
index 00000000..a68dfe64
--- /dev/null
+++ b/homework/Program.cs
@@ -0,0 +1,21 @@
+Console.WriteLine("Zadaj cislo 1");
+string number1 = Console.ReadLine();
+decimal cislo1 = decimal.Parse(number1);
+Console.WriteLine("Zadaj operaciu +-/%");
+string operacia = Console.ReadLine();
+Console.WriteLine("Zadaj cislo 2");
+string number2 = Console.ReadLine();
+decimal cislo2 = decimal.Parse(number2);
+
+decimal vysledok = operacia switch
+{
+ "+" => (cislo1 + cislo2),
+ "/" => (cislo1 / cislo2),
+ "-" => (cislo1 - cislo2),
+ "*" => (cislo1 * cislo2),
+ "%" => (cislo1 % cislo2),
+};
+
+Console.WriteLine(vysledok);
+
+
diff --git a/homework/homework.csproj b/homework/homework.csproj
new file mode 100644
index 00000000..2150e379
--- /dev/null
+++ b/homework/homework.csproj
@@ -0,0 +1,10 @@
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
diff --git a/src/AppsLab-001-StartHere/Greetings.cs b/src/AppsLab-001-StartHere/Greetings.cs
index fbe10953..f02fdb12 100644
--- a/src/AppsLab-001-StartHere/Greetings.cs
+++ b/src/AppsLab-001-StartHere/Greetings.cs
@@ -11,6 +11,6 @@ public class Greetings
/// A string containing the greeting message.
public string Hello()
{
- return "Hello World!";
+ return "Hello AppsLab!";
}
}
diff --git a/src/AppsLab-002-ConsoleWriteLine/Program.cs b/src/AppsLab-002-ConsoleWriteLine/Program.cs
index 837131c2..f8fa6994 100644
--- a/src/AppsLab-002-ConsoleWriteLine/Program.cs
+++ b/src/AppsLab-002-ConsoleWriteLine/Program.cs
@@ -1 +1,3 @@
-Console.WriteLine("Hello, World!");
\ No newline at end of file
+int age = 1024;
+string name = "Neviem";
+Console.WriteLine($"The name is {name} and I am {age} years old, I am young");
\ No newline at end of file
diff --git a/src/AppsLab-005-DataTypes/Program.cs b/src/AppsLab-005-DataTypes/Program.cs
index 3751555c..fb7f07b1 100644
--- a/src/AppsLab-005-DataTypes/Program.cs
+++ b/src/AppsLab-005-DataTypes/Program.cs
@@ -1,2 +1,22 @@
-// See https://aka.ms/new-console-template for more information
-Console.WriteLine("Hello, World!");
+float neviem = 0.11111f;
+int mojeCislo = 123456;
+string mojeSlovo = "Hello World";
+bool mojaBoolHodnota = true;
+DateTime dnesnyDatum = DateTime.Now;
+var neviem2 = "dfghjk";
+int sucet = mojeCislo + 5;
+const int MaxStudents = 15;
+
+
+
+
+
+Console.WriteLine("Maximlany pocet ziakov v triede je:" + MaxStudents);
+
+Console.WriteLine(mojeCislo);
+Console.WriteLine(mojeSlovo);
+Console.WriteLine(dnesnyDatum.ToString("yyyy.MM.dd"));
+Console.WriteLine(mojaBoolHodnota);
+Console.WriteLine(sucet);
+Console.WriteLine($"Hodnota Float je:{neviem}");
+Console.WriteLine(neviem2);
\ No newline at end of file
diff --git a/src/AppsLab-006-Constants/Program.cs b/src/AppsLab-006-Constants/Program.cs
index 3751555c..95e84a05 100644
--- a/src/AppsLab-006-Constants/Program.cs
+++ b/src/AppsLab-006-Constants/Program.cs
@@ -1,2 +1,7 @@
-// See https://aka.ms/new-console-template for more information
-Console.WriteLine("Hello, World!");
+const int MaxPoints = 100;
+const int MinAgeForDrivingLicence = 17;
+const string WelcomeMessage = "Vitajte tu v tomto teste";
+
+Console.WriteLine(MaxPoints);
+Console.WriteLine(MinAgeForDrivingLicence);
+Console.WriteLine(WelcomeMessage);
\ No newline at end of file
diff --git a/src/AppsLab-007-Casting/Converter.cs b/src/AppsLab-007-Casting/Converter.cs
index a64ce567..700f6e99 100644
--- a/src/AppsLab-007-Casting/Converter.cs
+++ b/src/AppsLab-007-Casting/Converter.cs
@@ -1,63 +1,45 @@
-namespace AppsLab_007_Casting;
-
-///
-/// This class contains methods to convert between different data types.
-///
-public class Converter
-{
- ///
- /// This method converts a string to an integer.
- ///
- public double IntToDouble(int number)
- {
- throw new NotImplementedException();
- }
-
- ///
- /// This method converts a double to an integer.
- ///
- public int DoubleToInt(double number)
- {
- throw new NotImplementedException();
- }
-
- ///
- /// This method converts a string to a double.
- ///
- public double StringToDouble(string number)
- {
- throw new NotImplementedException();
- }
-
- ///
- /// This method converts a double to a string.
- ///
- public string DoubleToString(double number)
- {
- throw new NotImplementedException();
- }
-
- ///
- /// This method converts a string to a boolean.
- ///
- public string IntToString(int number)
- {
- throw new NotImplementedException();
- }
-
- ///
- /// This method converts a boolean to a string.
- ///
- public bool StringToBool(string boolValue)
- {
- throw new NotImplementedException();
- }
-
- ///
- /// This method converts a boolean to a string.
- ///
- public string BoolToString(bool boolValue)
- {
- throw new NotImplementedException();
- }
-}
+//namespace AppsLab_007_Casting;
+
+//public class Converter
+//{
+
+// public double IntToDouble(int number)
+// {
+
+// return Convert.ToDouble(number);
+// }
+
+// public int DoubleToInt(double number)
+// {
+// return Convert.ToInt(number);
+// }
+
+// public double StringToDouble(string number)
+// {
+// return Convert.ToDouble(number);
+// }
+
+
+// public string DoubleToString(double number)
+// {
+// return Convert.ToString(number);
+// }
+
+
+// public string IntToString(int number)
+// {
+// return Convert.ToString(number);
+// }
+
+
+// public bool StringToBool(string boolValue)
+// {
+// return Convert.ToBool(boolValue);
+// }
+
+
+// public string StringToBool(bool boolValue)
+// {
+// return Convert.ToBool(boolValue);
+// }
+//}
diff --git a/src/AppsLab-008-ConsoleReadLine/Program.cs b/src/AppsLab-008-ConsoleReadLine/Program.cs
index 6f7376c9..5362db85 100644
--- a/src/AppsLab-008-ConsoleReadLine/Program.cs
+++ b/src/AppsLab-008-ConsoleReadLine/Program.cs
@@ -1,8 +1,42 @@
-Console.WriteLine("Ako sa voláš?");
-string? meno = Console.ReadLine();
-Console.WriteLine("Ahoj, " + meno);
-
-Console.WriteLine("Koľko máš rokov?");
-string vstup = Console.ReadLine() ?? "0";
-int vek = int.Parse(vstup);
-Console.WriteLine("Máš " + vek + " rokov.");
+
+//Console.WriteLine("Ahoj, cislo c. 1");
+//string? number1 = Console.ReadLine();
+//Console.WriteLine("zadaj druhe cislo:");
+//string? number2 = Console.ReadLine();
+
+
+//Console.WriteLine("zadaj operaciu + alebo -");
+//string? operacia = Console.ReadLine();
+
+//if (operacia =
+//int vysledok = int.Parse(number1) - int.Parse(number2);
+//Console.WriteLine($"Vysledok je{vysledok}.");
+//if operacia = "+";
+
+//int vysledok = int.Parse(number1) + int.Parse(number2);
+
+
+//Console.WriteLine($"Vysledok je{vysledok}.");
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/AppsLab-014-Switch/MovieRating.cs b/src/AppsLab-014-Switch/MovieRating.cs
index ab689d49..7fe09f4b 100644
--- a/src/AppsLab-014-Switch/MovieRating.cs
+++ b/src/AppsLab-014-Switch/MovieRating.cs
@@ -12,6 +12,22 @@ public class MovieRating
/// A string describing the specified movie rating.
public string GetRatingDescription(int rating)
{
- throw new NotImplementedException();
+ switch (rating)
+ {
+ case 1:
+ return "Veľmi zlý";
+ case 2:
+ return "Zlý";
+ case 3:
+ return "Priemerný";
+ case 4:
+ return "Dobrý";
+ case 5:
+ return "Výborný";
+ default:
+ return "Neplatné hodnotenie";
+ };
+
}
-}
\ No newline at end of file
+}
+
diff --git a/tests/AppsLab-007-Casting.Tests/ConverterTests.cs b/tests/AppsLab-007-Casting.Tests/ConverterTests.cs
index e9d8642c..e66c217b 100644
--- a/tests/AppsLab-007-Casting.Tests/ConverterTests.cs
+++ b/tests/AppsLab-007-Casting.Tests/ConverterTests.cs
@@ -1,68 +1,68 @@
-namespace AppsLab_007_Casting.Tests;
+//namespace AppsLab_007_Casting.Tests;
-public class ConverterTests
-{
- private Converter converter;
+//public class ConverterTests
+//{
+// private Converter converter;
- [SetUp]
- public void Setup()
- {
- converter = new Converter();
- }
+// [SetUp]
+// public void Setup()
+// {
+// converter = new Converter();
+// }
- [Test]
- public void IntToDouble_Given7_ShouldReturn7Point0()
- {
- var result = converter.IntToDouble(7);
- Assert.That(result, Is.EqualTo(7.0), "IntToDouble(7) should return 7.0");
- }
+// [Test]
+// public void IntToDouble_Given7_ShouldReturn7Point0()
+// {
+// var result = converter.IntToDouble(7);
+// Assert.That(result, Is.EqualTo(7.0), "IntToDouble(7) should return 7.0");
+// }
- [Test]
- public void DoubleToInt_Given7Point8_ShouldReturn7()
- {
- var result = converter.DoubleToInt(7.8);
- Assert.That(result, Is.EqualTo(7), "DoubleToInt(7.8) should return 7");
- }
+// [Test]
+// public void DoubleToInt_Given7Point8_ShouldReturn7()
+// {
+// var result = converter.DoubleToInt(7.8);
+// Assert.That(result, Is.EqualTo(7), "DoubleToInt(7.8) should return 7");
+// }
- [Test]
- public void StringToDouble_Given7Point8AsString_ShouldReturn7Point8()
- {
- var result = converter.StringToDouble("7.8");
- Assert.That(result, Is.EqualTo(7.8), "StringToDouble(\"7.8\") should return 7.8");
- }
+// [Test]
+// public void StringToDouble_Given7Point8AsString_ShouldReturn7Point8()
+// {
+// var result = converter.StringToDouble("7.8");
+// Assert.That(result, Is.EqualTo(7.8), "StringToDouble(\"7.8\") should return 7.8");
+// }
- [Test]
- public void DoubleToString_Given7Point8_ShouldReturn7Point8AsString()
- {
- var result = converter.DoubleToString(7.8);
- Assert.That(result, Is.EqualTo("7.8"), "DoubleToString(7.8) should return \"7.8\"");
- }
+// [Test]
+// public void DoubleToString_Given7Point8_ShouldReturn7Point8AsString()
+// {
+// var result = converter.DoubleToString(7.8);
+// Assert.That(result, Is.EqualTo("7.8"), "DoubleToString(7.8) should return \"7.8\"");
+// }
- [Test]
- public void IntToString_Given7_ShouldReturn7AsString()
- {
- var result = converter.IntToString(7);
- Assert.That(result, Is.EqualTo("7"), "IntToString(7) should return \"7\"");
- }
+// [Test]
+// public void IntToString_Given7_ShouldReturn7AsString()
+// {
+// var result = converter.IntToString(7);
+// Assert.That(result, Is.EqualTo("7"), "IntToString(7) should return \"7\"");
+// }
- [Test]
- public void StringToBool_GivenTrueAsString_ShouldReturnTrue()
- {
- var result = converter.StringToBool("true");
- Assert.That(result, Is.True, "StringToBool(\"true\") should return true");
- }
+// [Test]
+// public void StringToBool_GivenTrueAsString_ShouldReturnTrue()
+// {
+// var result = converter.StringToBool("true");
+// Assert.That(result, Is.True, "StringToBool(\"true\") should return true");
+// }
- [Test]
- public void BoolToString_GivenTrue_ShouldReturnTrueAsString()
- {
- var result = converter.BoolToString(true);
- Assert.That(result, Is.EqualTo("True"), "BoolToString(true) should return \"True\"");
- }
+// [Test]
+// public void BoolToString_GivenTrue_ShouldReturnTrueAsString()
+// {
+// var result = converter.BoolToString(true);
+// Assert.That(result, Is.EqualTo("True"), "BoolToString(true) should return \"True\"");
+// }
- [Test]
- public void BoolToString_GivenFalse_ShouldReturnFalseAsString()
- {
- var result = converter.BoolToString(false);
- Assert.That(result, Is.EqualTo("False"), "BoolToString(false) should return \"False\"");
- }
-}
+// [Test]
+// public void BoolToString_GivenFalse_ShouldReturnFalseAsString()
+// {
+// var result = converter.BoolToString(false);
+// Assert.That(result, Is.EqualTo("False"), "BoolToString(false) should return \"False\"");
+// }
+//}