public void TestRun_NoScript() { MatlabProperties props = new MatlabProperties(); MatlabProcess p = new MatlabProcess(); p.Run(props); }
public void TestRun_OutputVariableBadType() { string filePath = "BadOutputTest.m"; Image img = Image.FromFile("input.bmp"); MatlabProperties props = new MatlabProperties(); props.ScriptFile = filePath; MatlabProcess p = new MatlabProcess(); p.Input = img; p.Run(props); }
public void TestRun_OutputPointsToFile() { string filePath = "ValidScript.m"; Image img = Image.FromFile("input.bmp"); MatlabProperties props = new MatlabProperties(); props.ScriptFile = filePath; MatlabProcess p = new MatlabProcess(); p.Input = img; p.Run(props); Assert.IsNotNull(p.Output); }
public void TestRun_NullProperties() { MatlabProcess p = new MatlabProcess(); p.Run(null); }
public void TestRun() { MatlabProcess p = new MatlabProcess(); p.Run(); }