什么意思?
在目标类的main里面写测试程序不就行了

解决方案 »

  1.   

    new 对象就可以了啊...不明白.
    对象.成员函数就可以.
      

  2.   

    在第一层测试类、第二层测试类....里写好测试程序,debug测试类,step over,step into总可以调试吧
    不可以把它变成公开的来测试吗?
      

  3.   

    there are various ways of testing such a class.1. you can provide simple simulated parameters to this class and test it to see if it at least works.
    2. you can set some break points in the class to see if it progresses fine in the procedure.the best way is to test your class with the other module that were designed to interface.