This is a small-scale test to verify your familarity with C# and it's usage. It should take you a couple of hours.
This is a small subset of a real image conversion that we needed for particular label printers.
This solution is designed in Visual Studio 2019.
- Install xUnit test framework dependency.
- Where repeating lines exist replace the second and subsequent repeating lines with ":".
- Fix broken duplicate lines test.
- Replace repeating characters in the input string with it's corresponding encoding character (see function for detailed specification).
- Hex lines ending in "0" or "F" should have all ending sequential "0"s or "F"s replaced with a single "," or "!" respectively.
- Add tests and code to handle 20+ character repeats which require more than one encoding character.
- Set the Display project to be the start up project for this solution.
- Add a data entry field to the Display project.
- Display the encoded results on the form.
Once you're done create a zip file of the entire solution directory including .git and send it back to us.