basetest| testDeformer|: convert py code to c++ code