Skip to content

Commit 37de957

Browse files
authored
Update docs (#125)
* Add docs to solution * Rename Utility -> Utilities * Update reference to Utilities * Remove failing greetings workflow
1 parent 759e4f9 commit 37de957

File tree

11 files changed

+26
-36
lines changed

11 files changed

+26
-36
lines changed

.github/pull_request_template.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
# Description
2-
31
Please include a brief summary of the change. Please also include relevant motivation and context (if applicable).
42

5-
# Checklist:
6-
73
- [ ] I have performed a self-review of my own code
84
- [ ] My code follows the style guidelines of this project
95
- [ ] I have commented my code in hard-to-understand areas

.github/workflows/greetings.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

Algorithms.Tests/Search/LinearSearcherTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Algorithms.Search;
44
using NUnit.Framework;
55
using NUnit.Framework.Internal;
6-
using Utility.Exception;
6+
using Utilities.Exceptions;
77

88
namespace Algorithms.Tests.Search
99
{
@@ -51,7 +51,7 @@ public static void Find_ItemMissing_ItemNotFoundExceptionThrown([Random(0, 1_000
5151

5252
// Act
5353
// Assert
54-
_ = Assert.Throws(typeof(ItemNotFoundException), () => searcher.Find(arrayToSearch, x => false));
54+
_ = Assert.Throws<ItemNotFoundException>(() => searcher.Find(arrayToSearch, x => false));
5555
}
5656

5757
[Test]

Algorithms/Algorithms.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</ItemGroup>
2525

2626
<ItemGroup>
27-
<ProjectReference Include="..\Utility\Utility.csproj" />
27+
<ProjectReference Include="..\Utilities\Utilities.csproj" />
2828
</ItemGroup>
2929

3030
</Project>

Algorithms/DataCompression/HuffmanCompressor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using Algorithms.Sorters.Comparison;
5-
using Utility.Extension;
5+
using Utilities.Extensions;
66

77
namespace Algorithms.DataCompression
88
{

Algorithms/DataCompression/ShannonFanoCompressor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using System.Linq;
33
using Algorithms.Knapsack;
4-
using Utility.Extension;
4+
using Utilities.Extensions;
55

66
namespace Algorithms.DataCompression
77
{

Algorithms/Search/LinearSearcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using System;
2-
using Utility.Exception;
2+
using Utilities.Exceptions;
33

44
namespace Algorithms.Search
55
{

C-Sharp.sln

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,32 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.28803.352
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Algorithms", "Algorithms\Algorithms.csproj", "{EC967159-73D8-4E44-8455-E2D16DB4CBBB}"
7-
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataStructures", "DataStructures\DataStructures.csproj", "{E9C27C73-1F95-4C6E-9DB4-F8585426A850}"
9-
EndProject
10-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Algorithms.Tests", "Algorithms.Tests\Algorithms.Tests.csproj", "{56817595-1552-409B-93B8-F8082F8490A5}"
11-
EndProject
12-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataStructures.Tests", "DataStructures.Tests\DataStructures.Tests.csproj", "{39174100-3A6E-45B2-9AA9-7C69764C0750}"
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{DAB16DEC-AF31-4B59-8DD5-5C76C1A23052}"
7+
ProjectSection(SolutionItems) = preProject
8+
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
9+
CONTRIBUTING.md = CONTRIBUTING.md
10+
LICENSE = LICENSE
11+
README.md = README.md
12+
EndProjectSection
1313
EndProject
14-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{F3AC2246-318B-4EE4-BD9E-D751D3044901}"
14+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Configs", "Configs", "{F3AC2246-318B-4EE4-BD9E-D751D3044901}"
1515
ProjectSection(SolutionItems) = preProject
1616
.editorconfig = .editorconfig
1717
.gitignore = .gitignore
1818
.travis.yml = .travis.yml
19-
README.md = README.md
2019
stylecop.json = stylecop.json
2120
stylecop.ruleset = stylecop.ruleset
2221
EndProjectSection
2322
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Utility", "Utility\Utility.csproj", "{3A41157D-296D-4BFC-A34E-91B5ED7F0905}"
23+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Algorithms", "Algorithms\Algorithms.csproj", "{EC967159-73D8-4E44-8455-E2D16DB4CBBB}"
24+
EndProject
25+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Algorithms.Tests", "Algorithms.Tests\Algorithms.Tests.csproj", "{56817595-1552-409B-93B8-F8082F8490A5}"
26+
EndProject
27+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataStructures", "DataStructures\DataStructures.csproj", "{E9C27C73-1F95-4C6E-9DB4-F8585426A850}"
28+
EndProject
29+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataStructures.Tests", "DataStructures.Tests\DataStructures.Tests.csproj", "{39174100-3A6E-45B2-9AA9-7C69764C0750}"
30+
EndProject
31+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Utilities", "Utilities\Utilities.csproj", "{3A41157D-296D-4BFC-A34E-91B5ED7F0905}"
2532
EndProject
2633
Global
2734
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Utility/Exception/ItemNotFoundException.cs renamed to Utilities/Exceptions/ItemNotFoundException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Utility.Exception
3+
namespace Utilities.Exceptions
44
{
55
/// <summary>
66
/// Signs that sequence doesn't contain any items that one was looking for.

Utility/Extension/DictionaryExtension.cs renamed to Utilities/Extensions/DictionaryExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Collections.Generic;
22

3-
namespace Utility.Extension
3+
namespace Utilities.Extensions
44
{
5-
public static class DictionaryExtension
5+
public static class DictionaryExtensions
66
{
77
public static void AddMany<TKey, TValue>(this Dictionary<TKey, TValue> keys, IEnumerable<(TKey, TValue)> enumerable)
88
{
File renamed without changes.

0 commit comments

Comments
 (0)