Unit testing using imported data
- To: mathgroup at smc.vnet.net
- Subject: [mg124127] Unit testing using imported data
- From: David <dbcomps at gmail.com>
- Date: Tue, 10 Jan 2012 05:58:36 -0500 (EST)
- Delivered-to: firstname.lastname@example.org
I want to setup a unit test for functions I have made. The functions perform computation on imported data. The data are HDF files. How can I setup the unit test so that the data gets imported for use in a unit test? The imported data is the input for the function.