mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 00:38:47 +00:00
[ci skip] Use file-scoped namespaces for tests
This commit is contained in:
parent
6f96ab795c
commit
4855ae8bf2
@ -1,7 +1,7 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Tests for <see cref="BooleanExtensions" />.
|
||||
/// </summary>
|
||||
@ -30,4 +30,3 @@ namespace X10D.Tests.Core
|
||||
CollectionAssert.AreEqual(falseBytes, falseResult);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Tests for <see cref="ByteExtensions" />
|
||||
/// </summary>
|
||||
@ -59,4 +59,3 @@ namespace X10D.Tests.Core
|
||||
Assert.IsFalse(twoOdd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Tests for <see cref="CharExtensions" />.
|
||||
/// </summary>
|
||||
@ -21,4 +21,3 @@ namespace X10D.Tests.Core
|
||||
Assert.ThrowsException<ArgumentOutOfRangeException>(() => character.Repeat(-1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Tests for <see cref="ComparableExtensions" />.
|
||||
/// </summary>
|
||||
@ -128,4 +128,3 @@ namespace X10D.Tests.Core
|
||||
Assert.AreEqual(first, second.Min(first));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
using System;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
@ -103,4 +103,3 @@ namespace X10D.Tests.Core
|
||||
Assert.AreEqual(10.0, 7.5.Round(5));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,8 @@ using System.Reflection;
|
||||
using System.Text;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Tests for <see cref="Int32Extensions.IsPrime(int)"/>.
|
||||
/// </summary>
|
||||
@ -116,4 +116,3 @@ namespace X10D.Tests.Core
|
||||
return primes.AsReadOnly();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Tests for <see cref="SByteExtensions" />
|
||||
/// </summary>
|
||||
@ -41,4 +41,3 @@ namespace X10D.Tests.Core
|
||||
Assert.AreEqual(false, twoOdd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace X10D.Tests.Core
|
||||
{
|
||||
namespace X10D.Tests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Tests for <see cref="StringExtensions" />.
|
||||
/// </summary>
|
||||
@ -233,4 +233,3 @@ namespace X10D.Tests.Core
|
||||
Assert.AreEqual(alternative, ((string?)null).WithWhiteSpaceAlternative(alternative));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user