public void WriteDataTest()
 {
     KBActionRecorderLinq target = new KBActionRecorderLinq(); 
     string keyEvents = KeyboardEvents.WM_KeyDown.ToString(); 
     Keys myKey = Keys.A;
     int delayTime = 10; 
     target.WriteData(keyEvents, myKey, delayTime);
     target.SaveActions();
     Win32API.KeyEvent Expected = new Win32API.KeyEvent()
     {
         dwFlags = Miku.Client.Win32API_Accessor.KBEventFlag.KeyDown,
         bVk = Convert.ToInt32(Keys.A),
         delayTime = 10
     };
     var actual = target.GetDatas()[0];
     
     Assert.AreEqual(Expected,actual);
     
    
     
 }
 public void GetDatasTest()
 {
     KBActionRecorderLinq target = new KBActionRecorderLinq();
     target.WriteData(KeyboardEvents.WM_KeyDown.ToString(), Keys.A, 10);
     target.SaveActions();
     Win32API.KeyEvent[] expected = new Win32API.KeyEvent[]
     {
         new Win32API.KeyEvent()
         {
             dwFlags = Miku.Client.Win32API_Accessor.KBEventFlag.KeyDown,
             bVk = Convert.ToInt32(Keys.A),
             delayTime = 10
         }
     }; 
     Win32API.KeyEvent[] actual;
     actual = target.GetDatas();
     Assert.AreEqual(expected[0], actual[0]);
     
 }