Example #1
0
 public void ProcessCurrentStatusResponseRX()
 {
     mvm = new GrblTool();
     mvm.ProcessCurrentStatusResponse(currentStatus);
     Assert.AreEqual("2", mvm.RxBuffer);
 }
Example #2
0
 public void ProcessCurrentStatusResponseYTest()
 {
     mvm = new GrblTool();
     mvm.ProcessCurrentStatusResponse(currentStatus);
     Assert.AreEqual("30.860", mvm.MachinePositionY);
 }
Example #3
0
 public void ProcessCurrentStatusResponseBuf()
 {
     mvm = new GrblTool();
     mvm.ProcessCurrentStatusResponse(currentStatus);
     Assert.AreEqual("5", mvm.PlannerBuffer);
 }
Example #4
0
 public void ProcessCurrentStatusResponseXTest()
 {
     mvm = new GrblTool();
     mvm.ProcessCurrentStatusResponse(currentStatus);
     Assert.AreEqual("5.529", mvm.MachinePositionX);
 }