1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-31 21:01:23 -08:00
emacs/test/src
Mark Oteiza d24ec58540 Expose viewing conditions in CAM02-UCS metric
Also add tests from the colorspacious library.  Finally, catch an
errant calculation, where degrees were not being converted to radians.
* src/lcms.c (deg2rad, default_viewing_conditions):
(parse_viewing_conditions): New functions.
(lcms-cam02-ucs): Add comments pointing to references used.  Expand
the docstring and explain viewing conditions.  JCh hue is given in
degrees and needs to be converted to radians.
(lcms-d65-xyz): Remove.  No need to duplicate this in Lisp or make the
API needlessly impure.
* test/src/lcms-tests.el: Reword commentary.
(lcms-rgb255->xyz): New function.
(lcms-cri-cam02-ucs): Fix let-binding.
(lcms-dE-cam02-ucs-silver): New test, assimilated from colorspacious.
2017-09-21 23:06:00 -04:00
..
regex-resources
alloc-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
buffer-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
callproc-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
casefiddle-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
charset-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
chartab-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cmds-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
coding-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
data-tests.el Fix bug with min and max and NaNs 2017-09-17 15:26:41 -07:00
decompress-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
doc-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
editfns-tests.el Fix 2 testsuite tests for MS-Windows 2017-09-20 10:16:11 +03:00
emacs-module-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
eval-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
fileio-tests.el Adapt fileio-tests--symlink-failure to Cygwin 2017-09-18 17:22:52 -04:00
floatfns-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
fns-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
font-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
inotify-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
keymap-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
lcms-tests.el Expose viewing conditions in CAM02-UCS metric 2017-09-21 23:06:00 -04:00
lread-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
marker-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
minibuf-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
print-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
process-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
regex-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
syntax-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
textprop-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
thread-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
undo-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
xml-tests.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00