mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 22:55:42 +00:00
🚨 Minor refactor in BooleanTests.cs
* const bool in Not() * rename Xor() to XOr() * conform XNOr() documentation
This commit is contained in:
parent
4461272f59
commit
e7bf572d09
@ -46,8 +46,8 @@ namespace X10D.Tests
|
|||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Not()
|
public void Not()
|
||||||
{
|
{
|
||||||
bool a = true;
|
const bool a = true;
|
||||||
bool b = false;
|
const bool b = false;
|
||||||
|
|
||||||
Assert.IsTrue(a);
|
Assert.IsTrue(a);
|
||||||
Assert.IsFalse(b);
|
Assert.IsFalse(b);
|
||||||
@ -98,10 +98,10 @@ namespace X10D.Tests
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Tests for <see cref="BooleanExtensions.Xor"/>.
|
/// Tests for <see cref="BooleanExtensions.XOr"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Xor()
|
public void XOr()
|
||||||
{
|
{
|
||||||
const bool a = true;
|
const bool a = true;
|
||||||
const bool b = true;
|
const bool b = true;
|
||||||
@ -161,7 +161,7 @@ namespace X10D.Tests
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Tests for <see cref="BooleanExtensions.NOr"/>.
|
/// Tests for <see cref="BooleanExtensions.XNOr"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void XNOr()
|
public void XNOr()
|
||||||
|
Loading…
Reference in New Issue
Block a user