示例#1
0
 public void FixtureSetup()
 {
     _buffer  = new byte[100000];
     _testRig = TestRig.CreateMultiFile();
 }
 public void Setup()
 {
     Rig = TestRig.CreateSingleFile(Piece.BlockSize * 20, Piece.BlockSize * 2);
     Rig.Manager.Bitfield.Not();
     Rig.Manager.Mode = new InitialSeedingMode(Rig.Manager);
 }
示例#3
0
 public void FixtureSetup()
 {
     rig = TestRig.CreateMultiFile();
 }
示例#4
0
 public void FixtureSetup()
 {
     _rig         = TestRig.CreateMultiFile();
     _diskManager = _rig.Engine.DiskManager;
 }