mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 23:45: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]
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user