terminal/src/cascadia/UnitTests_TerminalCore
PankajBhojwani dd5dbb2a40
Implement the Delta E algorithm to improve color perception (#11095)
- Implements the Delta E algorithm
- Uses the Delta E algorithm to precalculate adjusted foreground values based on possible foreground/background color pairs in the color table
- Adds a setting to use the adjusted foreground values when applicable

## PR Checklist
* [x] Closes #2638
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [x] I work here

## Validation Steps Performed
Before:
<img width="759" alt="color before" src="https://user-images.githubusercontent.com/26824113/131576768-b3b9eebd-5933-45de-8da8-88a985070312.png">

After (note dark blue):
<img width="760" alt="color after" src="https://user-images.githubusercontent.com/26824113/133158807-4e63198f-8a49-4d03-914e-55a5ad57d725.png">
2021-10-07 22:43:17 +00:00
..
ConptyRoundtripTests.cpp Implement and action for manually clearing the Terminal (and conpty) buffer (#10906) 2021-09-02 14:59:42 +00:00
InputTest.cpp Adding/fixing Alt+Space handling (#10799) 2021-08-10 19:53:07 +00:00
MockTermSettings.h Implement the Delta E algorithm to improve color perception (#11095) 2021-10-07 22:43:17 +00:00
pch.cpp Move ICore/ControlSettings to TerminalControl project (#7167) 2020-08-07 14:46:52 +00:00
pch.h Introduce MS.Term.Core.Color to replace W.U.Color for Core/Control/TSM (#9658) 2021-03-30 20:15:49 +00:00
ScreenSizeLimitsTest.cpp Enable /Zc:preprocessor (#10593) 2021-07-13 23:00:11 +00:00
ScrollTest.cpp Fix TerminalControl crash on exit (#10031) 2021-05-04 21:17:37 +00:00
SelectionTest.cpp Implement Keyboard Selection (#10824) 2021-09-23 12:24:32 -07:00
TerminalApiTest.cpp Enable /Zc:preprocessor (#10593) 2021-07-13 23:00:11 +00:00
TerminalBufferTests.cpp Initial Implementation for tab stops in TerminalDispatch (#9597) 2021-04-16 16:26:28 +00:00
TestUtils.h Fix wrapped lines in less in Git for Windows (#5771) 2020-05-08 21:22:09 +00:00
UnitTests.vcxproj Link to WinMM.Lib for PlaySound with 19041 (#9624) 2021-03-26 11:35:17 -05:00