1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 19:28:48 +00:00

🚨 Minor refactor in BooleanTests.cs

* const bool in Not()
* rename Xor() to XOr()
* conform XNOr() documentation
This commit is contained in:
Oliver Booth 2020-04-18 23:14:48 +01:00
parent 4461272f59
commit e7bf572d09
No known key found for this signature in database
GPG Key ID: 0D7F2EF1C8D2B9C0

View File

@ -46,8 +46,8 @@ namespace X10D.Tests
[TestMethod]
public void Not()
{
bool a = true;
bool b = false;
const bool a = true;
const bool b = false;
Assert.IsTrue(a);
Assert.IsFalse(b);
@ -98,10 +98,10 @@ namespace X10D.Tests
}
/// <summary>
/// Tests for <see cref="BooleanExtensions.Xor"/>.
/// Tests for <see cref="BooleanExtensions.XOr"/>.
/// </summary>
[TestMethod]
public void Xor()
public void XOr()
{
const bool a = true;
const bool b = true;
@ -161,7 +161,7 @@ namespace X10D.Tests
}
/// <summary>
/// Tests for <see cref="BooleanExtensions.NOr"/>.
/// Tests for <see cref="BooleanExtensions.XNOr"/>.
/// </summary>
[TestMethod]
public void XNOr()