50 assert_string_equal(path,
"<Ansel>/Lighttable/Toolboxes/Date-heure et GPS");
58 assert_string_equal(path,
"<Ansel>/Darkroom/Modules/Instances/Exposure");
68 assert_string_equal(module_path,
"<Ansel>/Darkroom/Modules/Instances/Tone-curve");
69 assert_string_equal(path,
"<Ansel>/Darkroom/Modules/Instances/Tone-curve/sky-ground");
74int main(
int argc,
char *argv[])
76 const struct CMUnitTest tests[] = {
82 return cmocka_run_group_tests(tests, NULL, NULL);
gchar * dt_accels_build_path(const gchar *scope, const gchar *feature)
Build the accel path of feature under scope.
Handle default and user-set shortcuts (accelerators)
#define dt_free(ptr)
g_free() ptr and set it to NULL, skipping both if it is already NULL.
float dt_aligned_pixel_simd_t __attribute__((vector_size(16), aligned(16)))
Apply one channel's tone curve to each of the three colour channels, or pass the channel through unto...
const float uint32_t state[4]
static void _the_scope_keeps_its_levels(void **state __attribute__((unused)))
static void _nested_levels_are_built_one_at_a_time(void **state __attribute__((unused)))
static void _a_slash_in_the_feature_stays_one_level(void **state __attribute__((unused)))