public Cmd(InterfaceOutput intf) { mIntfShow = intf; for (int i = 0; i < 60; i++) { picture_list[i] = "screen" + i + ".png"; } }
public void TestSaveImageToComputerFormatBMP() { //Substitute for ManagerInputOutput InterfaceOutput outputInterface = Substitute.For <ManagerInputOutput>(); Bitmap originalBitmapToTest = RetrieveImage.RetrieveImageFromPath("egyptBMP.bmp"); //Name the to be saved image "TestBPM.bmp" outputInterface.SaveImage(originalBitmapToTest); Bitmap savedBitmap = RetrieveImage.RetrieveImageFromPath("TestBMP.bmp"); Assert.IsTrue(RetrieveImage.Equals(originalBitmapToTest, savedBitmap)); }
public void setFindCall(InterfaceOutput inter) { mInterface = inter; }