public void Add_Run_Multi() { Python_Script script = new Python_Script("calc_interface.py"); string res = script.Run("test_calc_pure", "+ - * / 3 2 10 6 -2 "); Assert.AreEqual(res, "7.0"); }
public void RunTest() { Python_Script script = new Python_Script("test.py"); //string res = script.Run(); //Assert.AreEqual(res, "one"); }
public void Add_Call_Method_Multi() { Python_Script script = new Python_Script("calc_interface.py"); string res = script.Call_Function("calc_pure_string", "+ - * / 3 2 10 6 -2 ", true); Assert.AreEqual(res, "7.0"); }