On 6 Apr 2018, at 14:16, Sergio Gómez Del Real sdelreal@codeweavers.com wrote:
On 06/04/18 03:25, Huw Davies wrote:
What’s the reason for hiding the data away in a header file? Are you planning on sharing it with other source files?
No technical reason. I just thought it wouldn't look very nice to see all that 'noise' in the code (specially since I would like to add more tests in the future, maybe some of them even more convoluted). Do you think this is a good enough reason to move out the test data into its own file?
No. You’re going to want to look at that ‘noise’ to see what the tests are doing, so hiding them away just makes life more difficult.
Huw.