public void MultiFile_Highest_RestNormal() { multiFile.Files[1].Priority = Priority.Highest; picker.Initialise(multiFile); picker.PickPiece(multiPeer, multiBitfield, new List <PeerId> (), 1, 0, multiBitfield.Length - 1); Assert.AreEqual(2, checker.Picks.Count, "#1"); Assert.IsTrue(picker.IsInteresting(multiPeer, multiBitfield), "#2"); Assert.AreEqual(new MutableBitField(multiBitfield.Length).SetTrue(multiFile.Files[1].GetSelector()), checker.Picks[0].available, "#3"); var bf = new MutableBitField(multiBitfield.Length); foreach (var v in multiFile.Files.Except(new[] { multiFile.Files[1] })) { bf.SetTrue(v.GetSelector()); } Assert.AreEqual(bf, checker.Picks[1].available, "#4"); }