public void diffTest() { var pins1 = new ProcessorPins(); pins1.Set(2, true); pins1.Set(7, true); var pins2 = new ProcessorPins(); pins2.Set(2, true); var pins = pins2.Diff(pins1); Assert.AreEqual(pins1.Count, pins.Count); Assert.AreEqual(true, pins.Get(7)); Assert.AreEqual(false, pins.Get(2)); }