diff --git a/ConsoleApp7.sln b/ConsoleApp7.sln
new file mode 100644
index 0000000..dee8f9e
--- /dev/null
+++ b/ConsoleApp7.sln
@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.8.34511.84
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp7", "ConsoleApp7\ConsoleApp7.csproj", "{61040B22-EADD-46F3-A628-82CF80B06678}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestProject1", "TestProject1\TestProject1.csproj", "{F3EB52FA-72CB-4895-802D-70EC77698EB5}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {61040B22-EADD-46F3-A628-82CF80B06678}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {61040B22-EADD-46F3-A628-82CF80B06678}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {61040B22-EADD-46F3-A628-82CF80B06678}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {61040B22-EADD-46F3-A628-82CF80B06678}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F3EB52FA-72CB-4895-802D-70EC77698EB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F3EB52FA-72CB-4895-802D-70EC77698EB5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F3EB52FA-72CB-4895-802D-70EC77698EB5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F3EB52FA-72CB-4895-802D-70EC77698EB5}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {9808E6F0-1D98-4417-B016-978A64E2CEA0}
+ EndGlobalSection
+EndGlobal
diff --git a/ConsoleApp7/ConsoleApp7.csproj b/ConsoleApp7/ConsoleApp7.csproj
new file mode 100644
index 0000000..2150e37
--- /dev/null
+++ b/ConsoleApp7/ConsoleApp7.csproj
@@ -0,0 +1,10 @@
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
diff --git a/ConsoleApp7/Program.cs b/ConsoleApp7/Program.cs
new file mode 100644
index 0000000..0fb38f3
--- /dev/null
+++ b/ConsoleApp7/Program.cs
@@ -0,0 +1,14 @@
+namespace ConsoleApp7
+{
+ public class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("Hello, World!");
+ }
+ public static int Test()
+ {
+ return -1;
+ }
+ }
+}
diff --git a/TestProject1/GlobalUsings.cs b/TestProject1/GlobalUsings.cs
new file mode 100644
index 0000000..cefced4
--- /dev/null
+++ b/TestProject1/GlobalUsings.cs
@@ -0,0 +1 @@
+global using NUnit.Framework;
\ No newline at end of file
diff --git a/TestProject1/TestProject1.csproj b/TestProject1/TestProject1.csproj
new file mode 100644
index 0000000..3a2d6c5
--- /dev/null
+++ b/TestProject1/TestProject1.csproj
@@ -0,0 +1,30 @@
+
+
+
+ net8.0
+ enable
+ enable
+
+ false
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ C:\Users\Admin\Desktop\dem\SF2022UserNNLib.dll
+
+
+
+
diff --git a/TestProject1/UnitTest1.cs b/TestProject1/UnitTest1.cs
new file mode 100644
index 0000000..c3858e9
--- /dev/null
+++ b/TestProject1/UnitTest1.cs
@@ -0,0 +1,37 @@
+namespace TestProject1
+{
+ public class Tests
+ {
+ [SetUp]
+ public void Setup()
+ {
+ }
+
+ [Test]
+ public void TestSomeMethod()
+ {
+ var expect = -1;
+ var result = ConsoleApp7.Program.Test();
+ Assert.AreEqual(expect, result);
+ }
+
+ [Test]
+ public void TestDllLib()
+ {
+ string[] expect = {
+ "08:00-08:30",
+ "08:30-09:00",
+ "09:00-09:30",
+ "09:30-10:00",
+ "11:30-12:00"
+ };
+ TimeSpan[] startTimes = {new TimeSpan(10, 0, 0), new TimeSpan(11, 0, 0)};
+ int[] durations = { 60, 30 };
+ TimeSpan beginWorkingTime = new TimeSpan(8, 0, 0);
+ TimeSpan endWorkingTime = new TimeSpan(12, 0, 0);
+ int consultationTime = 30;
+ var result = SF2022UserNNLib.Calculations.AvailablePeriods(startTimes, durations, beginWorkingTime, endWorkingTime, consultationTime);
+ Assert.AreEqual(expect, result);
+ }
+ }
+}
\ No newline at end of file