1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-09 23:45:42 +00:00

Code cleanup for X10D.Tests

This commit is contained in:
Oliver Booth 2022-06-01 15:35:00 +01:00
parent e182b0f821
commit b5227f58d3
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
12 changed files with 23 additions and 22 deletions

View File

@ -39,7 +39,9 @@ public class UInt32Tests
{
const uint value = 284719; // 00000000 00000100 01011000 00101111
Assert.AreEqual(value, value.RotateRight(32));
} [TestMethod]
}
[TestMethod]
public void RoundUpToPowerOf2_ShouldReturnRoundedValue_GivenValue()
{
Assert.AreEqual(4U, 3U.RoundUpToPowerOf2());

View File

@ -1,5 +1,4 @@
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using X10D.Text;
namespace X10D.Tests.Text;