Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Utilities.Tests/Extensions/DictionaryExtensionsTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
using Utilities.Extensions;

namespace Utilities.Tests.Extensions;

public class DictionaryExtensionsTests
Expand Down
5 changes: 0 additions & 5 deletions Utilities.Tests/Extensions/MatrixExtensionsTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
using System;
using FluentAssertions;
using NUnit.Framework;
using Utilities.Extensions;

namespace Utilities.Tests.Extensions;

public class MatrixExtensionsTests
Expand Down
5 changes: 0 additions & 5 deletions Utilities.Tests/Extensions/RandomExtensionsTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
using System;
using FluentAssertions;
using NUnit.Framework;
using Utilities.Extensions;

namespace Utilities.Tests.Extensions;

public class RandomExtensionsTests
Expand Down
5 changes: 0 additions & 5 deletions Utilities.Tests/Extensions/VectorExtensionsTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
using System;
using FluentAssertions;
using NUnit.Framework;
using Utilities.Extensions;

namespace Utilities.Tests.Extensions;

public class VectorExtensionsTests
Expand Down
17 changes: 17 additions & 0 deletions Utilities.Tests/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// -----------------------------------------------------------------------------
// Global using directives for the C-Sharp solution.
// These namespaces are imported globally so they don’t need to be repeatedly declared
// in individual files, improving readability and reducing boilerplate.
//
// Guidelines:
// - Keep only the most commonly used namespaces here.
// - Add project-specific namespaces (e.g., Utilities.Extensions) only if they are
// required across the majority of files in the project.
// - Avoid placing rarely used namespaces here to maintain clarity.
// -----------------------------------------------------------------------------

global using System; // Core base classes and fundamental types
global using System.Collections.Generic; // Generic collection types (List, Dictionary, etc.)
global using FluentAssertions; // Assertion library for more readable and expressive unit tests
global using NUnit.Framework; // Testing framework providing attributes and assertions for test cases
global using Utilities.Extensions; // Common project-specific extension methods reused across multiple files
2 changes: 0 additions & 2 deletions Utilities/Exceptions/ItemNotFoundException.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Utilities.Exceptions;

/// <summary>
Expand Down
3 changes: 0 additions & 3 deletions Utilities/Extensions/DictionaryExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

namespace Utilities.Extensions;

public static class DictionaryExtensions
Expand Down
2 changes: 0 additions & 2 deletions Utilities/Extensions/MatrixExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Utilities.Extensions;

public static class MatrixExtensions
Expand Down
3 changes: 0 additions & 3 deletions Utilities/Extensions/RandomExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Linq;

namespace Utilities.Extensions;

public static class RandomExtensions
Expand Down
2 changes: 0 additions & 2 deletions Utilities/Extensions/VectorExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Utilities.Extensions;

public static class VectorExtensions
Expand Down
15 changes: 15 additions & 0 deletions Utilities/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// -----------------------------------------------------------------------------
// Global using directives for the C-Sharp solution.
// These namespaces are imported globally so they don’t need to be repeatedly declared
// in individual files, improving readability and reducing boilerplate.
//
// Guidelines:
// - Keep only the most commonly used namespaces here.
// - Add project-specific namespaces (e.g., Utilities.Extensions) only if they are
// required across the majority of files in the project.
// - Avoid placing rarely used namespaces here to maintain clarity.
// -----------------------------------------------------------------------------

global using System; // Core base classes and fundamental types
global using System.Collections.Generic; // Generic collection types (List, Dictionary, etc.)
global using System.Linq; // LINQ query operators for collections