public void Cuboid_Equality() { var same = new Cuboid(3.Meters(), 2.Meters(), 1.Meters()); var different = new Cuboid(3.Meters(), 1.Meters(), 1.Meters()); Assert.Multiple(() => { Assert.IsTrue(same == this.cuboid, "Objects should be equal"); Assert.IsTrue(same.Equals(this.cuboid), "Objects should be equal"); Assert.IsTrue(different != this.cuboid, "Objects should be different"); Assert.IsFalse(different == this.cuboid, "Objects should be different"); Assert.IsFalse(different.Equals(this.cuboid), "Objects should be different"); }); }