コード例 #1
0
 public void Setup()
 {
     //create hardcoded list of requests and initialize classes and lists
     _scanDisk       = new ScanDiskScheduling();
     _actualRequests = new List <Request>();
     _requests       = new List <Request>
     {
         new Request
         {
             Current  = 5,
             Previous = -1
         },
         new Request
         {
             Current  = 90,
             Previous = -1
         },
         new Request
         {
             Current  = 49,
             Previous = -1
         },
         new Request
         {
             Current  = 69,
             Previous = -1
         },
         new Request
         {
             Current  = 25,
             Previous = -1
         }
     };
 }
コード例 #2
0
 public void TearDown()
 {
     _scanDisk       = null;
     _currentRequest = null;
 }