public void FindOffset()
 {
     _pcbManager = new Moq.Mock <IPCBManager>();
     _pcbManager.Setup(fid1 => fid1.FirstFiducial).Returns(new Core.Models.Drawing.Point2D <double>(5, 5));
     _pcbManager.Setup(fid2 => fid2.SecondFiducial).Returns(new Core.Models.Drawing.Point2D <double>(25, 25));
     _mgr = new BoardAlignmentPositionManager(_pcbManager.Object);
 }
示例#2
0
 public void Init()
 {
     _pcbManager = new Moq.Mock <IPCBManager>();
     _mgr        = new BoardAlignmentPositionManager(_pcbManager.Object);
 }