From e7bf572d094e265a2430c919161e5b75c0c999d9 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 18 Apr 2020 23:14:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Minor=20refactor=20in=20BooleanT?= =?UTF-8?q?ests.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * const bool in Not() * rename Xor() to XOr() * conform XNOr() documentation --- X10D.Tests/src/BooleanTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/X10D.Tests/src/BooleanTests.cs b/X10D.Tests/src/BooleanTests.cs index 3027000..47b5b38 100644 --- a/X10D.Tests/src/BooleanTests.cs +++ b/X10D.Tests/src/BooleanTests.cs @@ -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 } /// - /// Tests for . + /// Tests for . /// [TestMethod] - public void Xor() + public void XOr() { const bool a = true; const bool b = true; @@ -161,7 +161,7 @@ namespace X10D.Tests } /// - /// Tests for . + /// Tests for . /// [TestMethod] public void XNOr()