first commit
This commit is contained in:
commit
d5981daf3a
13
.idea/.idea.demko6/.idea/.gitignore
vendored
Normal file
13
.idea/.idea.demko6/.idea/.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Rider ignored files
|
||||
/contentModel.xml
|
||||
/modules.xml
|
||||
/.idea.demko6.iml
|
||||
/projectSettingsUpdater.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
15
.idea/.idea.demko6/.idea/avalonia.xml
Normal file
15
.idea/.idea.demko6/.idea/avalonia.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AvaloniaProject">
|
||||
<option name="projectPerEditor">
|
||||
<map>
|
||||
<entry key="demko6/AddClientWindow.axaml" value="demko6/demko6.csproj" />
|
||||
<entry key="demko6/AddFClientWindow.axaml" value="demko6/demko6.csproj" />
|
||||
<entry key="demko6/AddUrClientWindow.axaml" value="demko6/demko6.csproj" />
|
||||
<entry key="demko6/ChoiceClientWindow.axaml" value="demko6/demko6.csproj" />
|
||||
<entry key="demko6/FormOrderWindow.axaml" value="demko6/demko6.csproj" />
|
||||
<entry key="demko6/MainWindow.axaml" value="demko6/demko6.csproj" />
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
8
.idea/.idea.demko6/.idea/indexLayout.xml
Normal file
8
.idea/.idea.demko6/.idea/indexLayout.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
4
.idea/.idea.demko6/.idea/vcs.xml
Normal file
4
.idea/.idea.demko6/.idea/vcs.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings" defaultProject="true" />
|
||||
</project>
|
56
Library/Calculations.cs
Normal file
56
Library/Calculations.cs
Normal file
@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Library
|
||||
{
|
||||
public class Calculations
|
||||
{
|
||||
public string[] AvailablePeriods(
|
||||
TimeSpan[] startTimes,
|
||||
int[] durations,
|
||||
TimeSpan beginWorkingTime,
|
||||
TimeSpan endWorkingTime,
|
||||
int consultationTime)
|
||||
{
|
||||
var busyPeriods = new List<(TimeSpan Start, TimeSpan End)>();
|
||||
|
||||
for (int i = 0; i < startTimes.Length; i++)
|
||||
{
|
||||
busyPeriods.Add((startTimes[i], startTimes[i].Add(TimeSpan.FromMinutes(durations[i]))));
|
||||
}
|
||||
|
||||
busyPeriods = busyPeriods.OrderBy(p => p.Start).ToList();
|
||||
|
||||
var result = new List<string>();
|
||||
TimeSpan current = beginWorkingTime;
|
||||
|
||||
foreach (var busy in busyPeriods)
|
||||
{
|
||||
if (busy.Start > current)
|
||||
{
|
||||
AddAvailablePeriods(current, busy.Start, consultationTime, result);
|
||||
}
|
||||
current = busy.End > current ? busy.End : current;
|
||||
}
|
||||
|
||||
if (current < endWorkingTime)
|
||||
{
|
||||
AddAvailablePeriods(current, endWorkingTime, consultationTime, result);
|
||||
}
|
||||
|
||||
return result.ToArray();
|
||||
}
|
||||
|
||||
private void AddAvailablePeriods(TimeSpan start, TimeSpan end, int duration, List<string> result)
|
||||
{
|
||||
TimeSpan current = start;
|
||||
while (current.Add(TimeSpan.FromMinutes(duration)) <= end)
|
||||
{
|
||||
var next = current.Add(TimeSpan.FromMinutes(duration));
|
||||
result.Add($"{current:hh\\:mm}-{next:hh\\:mm}");
|
||||
current = next;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
9
Library/Library.csproj
Normal file
9
Library/Library.csproj
Normal file
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
23
Library/bin/Debug/net8.0/Library.deps.json
Normal file
23
Library/bin/Debug/net8.0/Library.deps.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"Library/1.0.0": {
|
||||
"runtime": {
|
||||
"Library.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Library/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
BIN
Library/bin/Debug/net8.0/Library.dll
Normal file
BIN
Library/bin/Debug/net8.0/Library.dll
Normal file
Binary file not shown.
BIN
Library/bin/Debug/net8.0/Library.pdb
Normal file
BIN
Library/bin/Debug/net8.0/Library.pdb
Normal file
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
22
Library/obj/Debug/net8.0/Library.AssemblyInfo.cs
Normal file
22
Library/obj/Debug/net8.0/Library.AssemblyInfo.cs
Normal file
@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Library")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Library")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Library")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Создано классом WriteCodeFragment MSBuild.
|
||||
|
@ -0,0 +1 @@
|
||||
96dfa684885577e7cd4e59c5918ed791891269275cfe76e59a165c57510b5613
|
@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Library
|
||||
build_property.ProjectDir = /Users/feitanportor/dev/C#/demko6/Library/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
8
Library/obj/Debug/net8.0/Library.GlobalUsings.g.cs
Normal file
8
Library/obj/Debug/net8.0/Library.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
BIN
Library/obj/Debug/net8.0/Library.assets.cache
Normal file
BIN
Library/obj/Debug/net8.0/Library.assets.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
a35c734f6dc9dc3e4eacec0b5999b0b3ef2ba7d7cb2bca8429ca1fc0a6415949
|
11
Library/obj/Debug/net8.0/Library.csproj.FileListAbsolute.txt
Normal file
11
Library/obj/Debug/net8.0/Library.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,11 @@
|
||||
/Users/feitanportor/dev/C#/demko6/Library/bin/Debug/net8.0/Library.deps.json
|
||||
/Users/feitanportor/dev/C#/demko6/Library/bin/Debug/net8.0/Library.dll
|
||||
/Users/feitanportor/dev/C#/demko6/Library/bin/Debug/net8.0/Library.pdb
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/Library.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/Library.AssemblyInfoInputs.cache
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/Library.AssemblyInfo.cs
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/Library.csproj.CoreCompileInputs.cache
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/Library.dll
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/refint/Library.dll
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/Library.pdb
|
||||
/Users/feitanportor/dev/C#/demko6/Library/obj/Debug/net8.0/ref/Library.dll
|
BIN
Library/obj/Debug/net8.0/Library.dll
Normal file
BIN
Library/obj/Debug/net8.0/Library.dll
Normal file
Binary file not shown.
BIN
Library/obj/Debug/net8.0/Library.pdb
Normal file
BIN
Library/obj/Debug/net8.0/Library.pdb
Normal file
Binary file not shown.
BIN
Library/obj/Debug/net8.0/ref/Library.dll
Normal file
BIN
Library/obj/Debug/net8.0/ref/Library.dll
Normal file
Binary file not shown.
BIN
Library/obj/Debug/net8.0/refint/Library.dll
Normal file
BIN
Library/obj/Debug/net8.0/refint/Library.dll
Normal file
Binary file not shown.
66
Library/obj/Library.csproj.nuget.dgspec.json
Normal file
66
Library/obj/Library.csproj.nuget.dgspec.json
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/Users/feitanportor/dev/C#/demko6/Library/Library.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/Users/feitanportor/dev/C#/demko6/Library/Library.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/Users/feitanportor/dev/C#/demko6/Library/Library.csproj",
|
||||
"projectName": "Library",
|
||||
"projectPath": "/Users/feitanportor/dev/C#/demko6/Library/Library.csproj",
|
||||
"packagesPath": "/Users/feitanportor/.nuget/packages/",
|
||||
"outputPath": "/Users/feitanportor/dev/C#/demko6/Library/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/Users/feitanportor/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/8.0.402/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
Library/obj/Library.csproj.nuget.g.props
Normal file
15
Library/obj/Library.csproj.nuget.g.props
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/feitanportor/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/feitanportor/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/Users/feitanportor/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
2
Library/obj/Library.csproj.nuget.g.targets
Normal file
2
Library/obj/Library.csproj.nuget.g.targets
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
71
Library/obj/project.assets.json
Normal file
71
Library/obj/project.assets.json
Normal file
@ -0,0 +1,71 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"/Users/feitanportor/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/Users/feitanportor/dev/C#/demko6/Library/Library.csproj",
|
||||
"projectName": "Library",
|
||||
"projectPath": "/Users/feitanportor/dev/C#/demko6/Library/Library.csproj",
|
||||
"packagesPath": "/Users/feitanportor/.nuget/packages/",
|
||||
"outputPath": "/Users/feitanportor/dev/C#/demko6/Library/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/Users/feitanportor/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/8.0.402/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
8
Library/obj/project.nuget.cache
Normal file
8
Library/obj/project.nuget.cache
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "14j9aP940QM=",
|
||||
"success": true,
|
||||
"projectFilePath": "/Users/feitanportor/dev/C#/demko6/Library/Library.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
1
Library/obj/project.packagespec.json
Normal file
1
Library/obj/project.packagespec.json
Normal file
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"/Users/feitanportor/dev/C#/demko6/Library/Library.csproj","projectName":"Library","projectPath":"/Users/feitanportor/dev/C#/demko6/Library/Library.csproj","outputPath":"/Users/feitanportor/dev/C#/demko6/Library/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0":{"targetAlias":"net8.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/local/share/dotnet/sdk/8.0.402/PortableRuntimeIdentifierGraph.json"}}
|
1
Library/obj/rider.project.model.nuget.info
Normal file
1
Library/obj/rider.project.model.nuget.info
Normal file
@ -0,0 +1 @@
|
||||
17484662283175333
|
1
Library/obj/rider.project.restore.info
Normal file
1
Library/obj/rider.project.restore.info
Normal file
@ -0,0 +1 @@
|
||||
17484662283175333
|
28
TestLibrary/TestLibrary.csproj
Normal file
28
TestLibrary/TestLibrary.csproj
Normal file
@ -0,0 +1,28 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsTestProject>true</IsTestProject>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="coverlet.collector" Version="6.0.0"/>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
|
||||
<PackageReference Include="NUnit" Version="3.14.0"/>
|
||||
<PackageReference Include="NUnit.Analyzers" Version="3.9.0"/>
|
||||
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Using Include="NUnit.Framework"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Library\Library.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
70
TestLibrary/UnitTest1.cs
Normal file
70
TestLibrary/UnitTest1.cs
Normal file
@ -0,0 +1,70 @@
|
||||
using NUnit.Framework;
|
||||
using System;
|
||||
using Library;
|
||||
|
||||
namespace TestLibrary
|
||||
{
|
||||
[TestFixture]
|
||||
public class CalculationsTests
|
||||
{
|
||||
[Test]
|
||||
public void AvailablePeriods_NotEnoughTimeAtStart_ShouldSkipShortPeriod()
|
||||
{
|
||||
var calculator = new Calculations();
|
||||
var startTimes = new TimeSpan[] { new TimeSpan(9, 0, 0) };
|
||||
var durations = new int[] { 45 };
|
||||
var beginWorkingTime = new TimeSpan(9, 0, 0);
|
||||
var endWorkingTime = new TimeSpan(12, 0, 0);
|
||||
var consultationTime = 30;
|
||||
|
||||
var result = calculator.AvailablePeriods(
|
||||
startTimes,
|
||||
durations,
|
||||
beginWorkingTime,
|
||||
endWorkingTime,
|
||||
consultationTime);
|
||||
|
||||
var expected = new string[] { "09:45-10:15", "10:15-10:45", "10:45-11:15", "11:15-11:45" };
|
||||
|
||||
Assert.That(expected, Is.EqualTo(result));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AvailablePeriods_VariousDurationsAndBusyEnd_ShouldReturnCorrectPeriods()
|
||||
{
|
||||
var calculator = new Calculations();
|
||||
var startTimes = new TimeSpan[]
|
||||
{
|
||||
new TimeSpan(10, 0, 0),
|
||||
new TimeSpan(11, 30, 0),
|
||||
new TimeSpan(15, 45, 0)
|
||||
};
|
||||
var durations = new int[] { 30, 90, 75 };
|
||||
var beginWorkingTime = new TimeSpan(9, 0, 0);
|
||||
var endWorkingTime = new TimeSpan(17, 0, 0);
|
||||
var consultationTime = 30;
|
||||
|
||||
var result = calculator.AvailablePeriods(
|
||||
startTimes,
|
||||
durations,
|
||||
beginWorkingTime,
|
||||
endWorkingTime,
|
||||
consultationTime);
|
||||
|
||||
var expected = new string[]
|
||||
{
|
||||
"09:00-09:30",
|
||||
"09:30-10:00",
|
||||
"10:30-11:00",
|
||||
"11:00-11:30",
|
||||
"13:00-13:30",
|
||||
"13:30-14:00",
|
||||
"14:00-14:30",
|
||||
"14:30-15:00",
|
||||
"15:00-15:30"
|
||||
};
|
||||
|
||||
Assert.That(expected, Is.EqualTo(result));
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Library.dll
Normal file
BIN
TestLibrary/bin/Debug/net8.0/Library.dll
Normal file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Library.pdb
Normal file
BIN
TestLibrary/bin/Debug/net8.0/Library.pdb
Normal file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.CommunicationUtilities.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.CommunicationUtilities.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.CoreUtilities.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.CoreUtilities.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.CrossPlatEngine.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.CrossPlatEngine.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.PlatformAbstractions.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.PlatformAbstractions.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.Utilities.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.TestPlatform.Utilities.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.VisualStudio.CodeCoverage.Shim.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.VisualStudio.CodeCoverage.Shim.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.Common.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.Common.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.ObjectModel.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.ObjectModel.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/NUnit3.TestAdapter.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/NUnit3.TestAdapter.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/NUnit3.TestAdapter.pdb
Executable file
BIN
TestLibrary/bin/Debug/net8.0/NUnit3.TestAdapter.pdb
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/Newtonsoft.Json.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/Newtonsoft.Json.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/NuGet.Frameworks.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/NuGet.Frameworks.dll
Executable file
Binary file not shown.
433
TestLibrary/bin/Debug/net8.0/TestLibrary.deps.json
Normal file
433
TestLibrary/bin/Debug/net8.0/TestLibrary.deps.json
Normal file
@ -0,0 +1,433 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"TestLibrary/1.0.0": {
|
||||
"dependencies": {
|
||||
"Library": "1.0.0",
|
||||
"Microsoft.NET.Test.Sdk": "17.8.0",
|
||||
"NUnit": "3.14.0",
|
||||
"NUnit.Analyzers": "3.9.0",
|
||||
"NUnit3TestAdapter": "4.5.0",
|
||||
"coverlet.collector": "6.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"TestLibrary.dll": {}
|
||||
}
|
||||
},
|
||||
"coverlet.collector/6.0.0": {},
|
||||
"Microsoft.CodeCoverage/17.8.0": {
|
||||
"runtime": {
|
||||
"lib/netcoreapp3.1/Microsoft.VisualStudio.CodeCoverage.Shim.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.623.45702"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.NET.Test.Sdk/17.8.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.CodeCoverage": "17.8.0",
|
||||
"Microsoft.TestPlatform.TestHost": "17.8.0"
|
||||
}
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {},
|
||||
"Microsoft.TestPlatform.ObjectModel/17.8.0": {
|
||||
"dependencies": {
|
||||
"NuGet.Frameworks": "6.5.0",
|
||||
"System.Reflection.Metadata": "1.6.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp3.1/Microsoft.TestPlatform.CoreUtilities.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
},
|
||||
"lib/netcoreapp3.1/Microsoft.TestPlatform.PlatformAbstractions.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
},
|
||||
"lib/netcoreapp3.1/Microsoft.VisualStudio.TestPlatform.ObjectModel.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"lib/netcoreapp3.1/cs/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/netcoreapp3.1/cs/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/netcoreapp3.1/de/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/netcoreapp3.1/de/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/netcoreapp3.1/es/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/netcoreapp3.1/es/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/netcoreapp3.1/fr/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/netcoreapp3.1/fr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/netcoreapp3.1/it/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/netcoreapp3.1/it/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/netcoreapp3.1/ja/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/netcoreapp3.1/ja/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/netcoreapp3.1/ko/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/netcoreapp3.1/ko/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/netcoreapp3.1/pl/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/netcoreapp3.1/pl/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/netcoreapp3.1/pt-BR/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/netcoreapp3.1/pt-BR/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/netcoreapp3.1/ru/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/netcoreapp3.1/ru/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/netcoreapp3.1/tr/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/netcoreapp3.1/tr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hans/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hans/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hant/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hant/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.TestPlatform.TestHost/17.8.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.TestPlatform.ObjectModel": "17.8.0",
|
||||
"Newtonsoft.Json": "13.0.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp3.1/Microsoft.TestPlatform.CommunicationUtilities.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
},
|
||||
"lib/netcoreapp3.1/Microsoft.TestPlatform.CrossPlatEngine.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
},
|
||||
"lib/netcoreapp3.1/Microsoft.TestPlatform.Utilities.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
},
|
||||
"lib/netcoreapp3.1/Microsoft.VisualStudio.TestPlatform.Common.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
},
|
||||
"lib/netcoreapp3.1/testhost.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.800.23.55801"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"lib/netcoreapp3.1/cs/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/netcoreapp3.1/cs/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/netcoreapp3.1/cs/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/netcoreapp3.1/de/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/netcoreapp3.1/de/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/netcoreapp3.1/de/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/netcoreapp3.1/es/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/netcoreapp3.1/es/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/netcoreapp3.1/es/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/netcoreapp3.1/fr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/netcoreapp3.1/fr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/netcoreapp3.1/fr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/netcoreapp3.1/it/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/netcoreapp3.1/it/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/netcoreapp3.1/it/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/netcoreapp3.1/ja/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/netcoreapp3.1/ja/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/netcoreapp3.1/ja/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/netcoreapp3.1/ko/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/netcoreapp3.1/ko/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/netcoreapp3.1/ko/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/netcoreapp3.1/pl/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/netcoreapp3.1/pl/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/netcoreapp3.1/pl/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/netcoreapp3.1/pt-BR/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/netcoreapp3.1/pt-BR/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/netcoreapp3.1/pt-BR/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/netcoreapp3.1/ru/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/netcoreapp3.1/ru/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/netcoreapp3.1/ru/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/netcoreapp3.1/tr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/netcoreapp3.1/tr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/netcoreapp3.1/tr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hans/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hans/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hans/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hant/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hant/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
},
|
||||
"lib/netcoreapp3.1/zh-Hant/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
}
|
||||
}
|
||||
},
|
||||
"NETStandard.Library/2.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.1.0"
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.1.25517"
|
||||
}
|
||||
}
|
||||
},
|
||||
"NuGet.Frameworks/6.5.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/NuGet.Frameworks.dll": {
|
||||
"assemblyVersion": "6.5.0.154",
|
||||
"fileVersion": "6.5.0.154"
|
||||
}
|
||||
}
|
||||
},
|
||||
"NUnit/3.14.0": {
|
||||
"dependencies": {
|
||||
"NETStandard.Library": "2.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/nunit.framework.dll": {
|
||||
"assemblyVersion": "3.14.0.0",
|
||||
"fileVersion": "3.14.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"NUnit.Analyzers/3.9.0": {},
|
||||
"NUnit3TestAdapter/4.5.0": {},
|
||||
"System.Reflection.Metadata/1.6.0": {},
|
||||
"Library/1.0.0": {
|
||||
"runtime": {
|
||||
"Library.dll": {
|
||||
"assemblyVersion": "1.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"TestLibrary/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"coverlet.collector/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-tW3lsNS+dAEII6YGUX/VMoJjBS1QvsxqJeqLaJXub08y1FSjasFPtQ4UBUsudE9PNrzLjooClMsPtY2cZLdXpQ==",
|
||||
"path": "coverlet.collector/6.0.0",
|
||||
"hashPath": "coverlet.collector.6.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.CodeCoverage/17.8.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-KC8SXWbGIdoFVdlxKk9WHccm0llm9HypcHMLUUFabRiTS3SO2fQXNZfdiF3qkEdTJhbRrxhdRxjL4jbtwPq4Ew==",
|
||||
"path": "microsoft.codecoverage/17.8.0",
|
||||
"hashPath": "microsoft.codecoverage.17.8.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.NET.Test.Sdk/17.8.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-BmTYGbD/YuDHmApIENdoyN1jCk0Rj1fJB0+B/fVekyTdVidr91IlzhqzytiUgaEAzL1ZJcYCme0MeBMYvJVzvw==",
|
||||
"path": "microsoft.net.test.sdk/17.8.0",
|
||||
"hashPath": "microsoft.net.test.sdk.17.8.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||
"path": "microsoft.netcore.platforms/1.1.0",
|
||||
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.TestPlatform.ObjectModel/17.8.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-AYy6vlpGMfz5kOFq99L93RGbqftW/8eQTqjT9iGXW6s9MRP3UdtY8idJ8rJcjeSja8A18IhIro5YnH3uv1nz4g==",
|
||||
"path": "microsoft.testplatform.objectmodel/17.8.0",
|
||||
"hashPath": "microsoft.testplatform.objectmodel.17.8.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.TestPlatform.TestHost/17.8.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-9ivcl/7SGRmOT0YYrHQGohWiT5YCpkmy/UEzldfVisLm6QxbLaK3FAJqZXI34rnRLmqqDCeMQxKINwmKwAPiDw==",
|
||||
"path": "microsoft.testplatform.testhost/17.8.0",
|
||||
"hashPath": "microsoft.testplatform.testhost.17.8.0.nupkg.sha512"
|
||||
},
|
||||
"NETStandard.Library/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-7jnbRU+L08FXKMxqUflxEXtVymWvNOrS8yHgu9s6EM8Anr6T/wIX4nZ08j/u3Asz+tCufp3YVwFSEvFTPYmBPA==",
|
||||
"path": "netstandard.library/2.0.0",
|
||||
"hashPath": "netstandard.library.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
|
||||
"path": "newtonsoft.json/13.0.1",
|
||||
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
|
||||
},
|
||||
"NuGet.Frameworks/6.5.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-QWINE2x3MbTODsWT1Gh71GaGb5icBz4chS8VYvTgsBnsi8esgN6wtHhydd7fvToWECYGq7T4cgBBDiKD/363fg==",
|
||||
"path": "nuget.frameworks/6.5.0",
|
||||
"hashPath": "nuget.frameworks.6.5.0.nupkg.sha512"
|
||||
},
|
||||
"NUnit/3.14.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-R7iPwD7kbOaP3o2zldWJbWeMQAvDKD0uld27QvA3PAALl1unl7x0v2J7eGiJOYjimV/BuGT4VJmr45RjS7z4LA==",
|
||||
"path": "nunit/3.14.0",
|
||||
"hashPath": "nunit.3.14.0.nupkg.sha512"
|
||||
},
|
||||
"NUnit.Analyzers/3.9.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-8bGAEljlBnzR+uU8oGQhTVKnbgBw1Mo71qjVkgzHdvtUkiB5XOIDyjAcS4KUo/j+F2Zv/xBUZRkCWXmejx4bfA==",
|
||||
"path": "nunit.analyzers/3.9.0",
|
||||
"hashPath": "nunit.analyzers.3.9.0.nupkg.sha512"
|
||||
},
|
||||
"NUnit3TestAdapter/4.5.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-s8JpqTe9bI2f49Pfr3dFRfoVSuFQyraTj68c3XXjIS/MRGvvkLnrg6RLqnTjdShX+AdFUCCU/4Xex58AdUfs6A==",
|
||||
"path": "nunit3testadapter/4.5.0",
|
||||
"hashPath": "nunit3testadapter.4.5.0.nupkg.sha512"
|
||||
},
|
||||
"System.Reflection.Metadata/1.6.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==",
|
||||
"path": "system.reflection.metadata/1.6.0",
|
||||
"hashPath": "system.reflection.metadata.1.6.0.nupkg.sha512"
|
||||
},
|
||||
"Library/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
BIN
TestLibrary/bin/Debug/net8.0/TestLibrary.dll
Normal file
BIN
TestLibrary/bin/Debug/net8.0/TestLibrary.dll
Normal file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/TestLibrary.pdb
Normal file
BIN
TestLibrary/bin/Debug/net8.0/TestLibrary.pdb
Normal file
Binary file not shown.
12
TestLibrary/bin/Debug/net8.0/TestLibrary.runtimeconfig.json
Normal file
12
TestLibrary/bin/Debug/net8.0/TestLibrary.runtimeconfig.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/nunit.engine.api.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/nunit.engine.api.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/nunit.engine.core.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/nunit.engine.core.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/nunit.engine.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/nunit.engine.dll
Executable file
Binary file not shown.
BIN
TestLibrary/bin/Debug/net8.0/nunit.framework.dll
Executable file
BIN
TestLibrary/bin/Debug/net8.0/nunit.framework.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user