def testSwap(self): """ Tests Wire.swap() """ wire = Wire("Test") wire = wire.swap(0, 3) self.assertEqual(wire, "tesT")