diff --git a/.art/fireworks_test.m b/.art/fireworks.m similarity index 98% rename from .art/fireworks_test.m rename to .art/fireworks.m index 05820ad..f04c4e0 100644 --- a/.art/fireworks_test.m +++ b/.art/fireworks.m @@ -1,4 +1,4 @@ -function fireworks_test() +function fireworks() disp('TESTING fireworks script [get_palette]') diff --git a/.art/leaves_test.m b/.art/leaves.m similarity index 97% rename from .art/leaves_test.m rename to .art/leaves.m index 5fa74b0..1d25a21 100644 --- a/.art/leaves_test.m +++ b/.art/leaves.m @@ -1,4 +1,4 @@ -function leaves_test() +function leaves() disp('TESTING leaves script [set_palette]') diff --git a/.art/lego_test.m b/.art/lego.m similarity index 98% rename from .art/lego_test.m rename to .art/lego.m index fd8b22a..f6ae53c 100644 --- a/.art/lego_test.m +++ b/.art/lego.m @@ -1,4 +1,4 @@ -function lego_test() +function lego() disp('TESTING lego script [+palette]') diff --git a/.art/rosa_test.m b/.art/rosa.m similarity index 97% rename from .art/rosa_test.m rename to .art/rosa.m index 6cd0bb2..10844e5 100644 --- a/.art/rosa_test.m +++ b/.art/rosa.m @@ -1,4 +1,4 @@ -function rosa_test() +function rosa() disp('TESTING rosa script [set_palette]') diff --git a/.art/test_genart.m b/.art/test_genart.m new file mode 100644 index 0000000..28195d4 --- /dev/null +++ b/.art/test_genart.m @@ -0,0 +1,4 @@ +rosa() +leaves() +lego() +fireworks() \ No newline at end of file diff --git a/.test/test_X11.m b/.test/test_X11.m index 2072eb6..121fdf3 100644 --- a/.test/test_X11.m +++ b/.test/test_X11.m @@ -1,4 +1,6 @@ -function test_X11() +X11_colors() + +function X11_colors() disp('TESTING X11 colorset [rgb.X11;rgb2hex;]') diff --git a/.test/test_all_docstrings.m b/.test/test_all_docstrings.m index f53b165..1b9919f 100644 --- a/.test/test_all_docstrings.m +++ b/.test/test_all_docstrings.m @@ -1,4 +1,6 @@ -function test_all_docstrings() +all_docstrings() + +function all_docstrings() disp('TESTING all examples in docstrings.') diff --git a/.test/test_color_conversions.m b/.test/test_color_conversions.m index a800718..45808ad 100644 --- a/.test/test_color_conversions.m +++ b/.test/test_color_conversions.m @@ -1,4 +1,6 @@ -function test_color_conversions() +color_conversions() + +function color_conversions() disp('TESTING all color conversions [str2rgb;rgb2hex;hex2rgb]') diff --git a/.test/test_color_order.m b/.test/test_color_order.m index ecb3063..d924c18 100644 --- a/.test/test_color_order.m +++ b/.test/test_color_order.m @@ -1,4 +1,6 @@ -function test_color_order() +color_order() + +function color_order() disp('TESTING set_colororder') diff --git a/.test/test_colorname_overlap.m b/.test/test_colorname_overlap.m index 0b0458a..fe57e77 100644 --- a/.test/test_colorname_overlap.m +++ b/.test/test_colorname_overlap.m @@ -1,4 +1,6 @@ -function test_colorname_overlap() +colorname_overlap() + +function colorname_overlap() disp('TESTING overlap [+rgb]') diff --git a/.test/test_default_palettes.m b/.test/test_default_palettes.m index 9fccdbb..5855bcf 100644 --- a/.test/test_default_palettes.m +++ b/.test/test_default_palettes.m @@ -1,4 +1,6 @@ - function test_default_palettes() + default_palettes() + + function default_palettes() disp('TESTING all default palettes [set_palette]') diff --git a/.test/test_worldmaps.m b/.test/test_worldmaps.m index cb915d7..3a4ec81 100644 --- a/.test/test_worldmaps.m +++ b/.test/test_worldmaps.m @@ -1,4 +1,6 @@ -function test_worldmaps() +worldmaps() + +function worldmaps() disp('TESTING interaction with Mapping Toolbox [preset_palette]') @@ -12,18 +14,26 @@ function test_worldmaps() preset_palette(@palette.viridis); % apply the preselected colormap colorizer('viridis') + % build the worldmap + topographer() % preselect the colorscheme. preset_palette(@palette.cubehelix,3,-0.5,1.5,1 ); % apply the preselected colormap colorizer('cubehelix') + % build the worldmap + topographer() % preselect the colorscheme. preset_palette(@palette.brewer,'-PuOr'); % apply the preselected colormap colorizer('-PuOr') + % build the worldmap + topographer() % preselect the colorscheme. preset_palette(@palette.cmocean,'topo'); % apply the preselected colormap colorizer('topo') + % build the worldmap + topographer() % preselect the colorscheme. preset_palette(@palette.crameri,'oleron'); % apply the preselected colormap diff --git a/.test/test_xkcd.m b/.test/test_xkcd.m index ede3756..06a1ab0 100644 --- a/.test/test_xkcd.m +++ b/.test/test_xkcd.m @@ -1,4 +1,6 @@ -function test_xkcd() +xkcd_colors() + +function xkcd_colors() disp('TESTING xkcd colorset [rgb.xkcd;rgb2hex]')