One part of a project in which I write unit tests to extract data from a jpeg header.
I would like to create a unit test that checks this extraction using a known image (so I can check the known properties of this image).
It seems logical to me that this sample image is stored as a resource in the testing project, but I'm not sure how to do it. If it were a WPF project, I would just use the package syntax.
Is there any best practice for something like this (or even something that works)?
Thanks, WTS
source
share