'Tests a beacon information with a bunch of satellites, some of
them used in computing a fix.'

def test_someSatellitesUsed(self):

    bi = base.BeaconInformation()
    for prn in range(1, 10):
        satellite = base.Satellite(identifier=prn, **self.satelliteKwargs)
        bi.seenBeacons.add(satellite)
        if (prn % 2):
            bi.usedBeacons.add(satellite)
    self.assertEqual(len(bi.seenBeacons), 9)
    self.assertEqual(len(bi.usedBeacons), 5)
    self.assertEqual(repr(bi), '<BeaconInformation    (used    beacons    (5):    [<Satellite    (1),    azimuth:    1,    elevation:    1,    snr:    1.0>,    <Satellite    (3),    azimuth:    1,    elevation:    1,    snr:    1.0>,    <Satellite    (5),    azimuth:    1,    elevation:    1,    snr:    1.0>,    <Satellite    (7),    azimuth:    1,    elevation:    1,    snr:    1.0>,    <Satellite    (9),    azimuth:    1,    elevation:    1,    snr:    1.0>],    unused    beacons:    [<Satellite    (2),    azimuth:    1,    elevation:    1,    snr:    1.0>,    <Satellite    (4),    azimuth:    1,    elevation:    1,    snr:    1.0>,    <Satellite    (6),    azimuth:    1,    elevation:    1,    snr:    1.0>,    <Satellite    (8),    azimuth:    1,    elevation:    1,    snr:    1.0>])>')
