@@ -0,0 +1,727 @@
+#!/usr/bin/python%0A# -*- coding: utf-8 -*-%0A%0Aimport unittest%0A%0A%0Aimport os, sys%0Acmd_folder, f = os.path.split(os.path.dirname(os.path.abspath(__file__)))%0Aif cmd_folder not in sys.path:%0A    sys.path.insert(0, cmd_folder)%0A%0A%0Aimport ipf.ipf%0Aimport ipf.ipfblock.rgb2gray%0Aimport cv%0A%0Aclass TestIPFGraph(unittest.TestCase):%0A%0A    def setUp(self):%0A        self.ipf_graph = ipf.ipf.IPFGraph()%0A        block = ipf.ipfblock.rgb2gray.RGB2Gray()%0A        self.test_image = cv.LoadImage(%22test.png%22)%0A        self.block.input_ports%5B%22input_image%22%5D.pass_value(self.test_image)%0A%0A%0A    def tearDown(self):%0A        pass%0A%0A%0A    def testName(self):%0A        pass%0A%0A%0Aif __name__ == %22__main__%22:%0A    #import sys;sys.argv = %5B'', 'Test.testName'%5D%0A    unittest.main()

Add test module for IPFGraph