public void MultiplyRotateRight() { Element identity = new Element(0, 1, 2); Element element = new Element(2, 0, 1); Element element2 = new Element(1, 2, 0); Assert.AreEqual(element2, element.Multiply(element)); Assert.AreEqual(identity, element2.Multiply(element)); }
public void MultiplySwitch() { Element identity = new Element(0, 1, 2); Element element = new Element(1, 0, 2); Assert.AreEqual(identity, element.Multiply(element)); }
public void MultiplyIdentity() { Element element = new Element(0, 1, 2); Assert.AreEqual(element, element.Multiply(element)); }