Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
test_sample.c
Go to the documentation of this file.
1
/*
2
This file is part of darktable,
3
Copyright (C) 2010-2011 Henrik Andersson.
4
Copyright (C) 2010 johannes hanika.
5
Copyright (C) 2010 Pascal de Bruijn.
6
Copyright (C) 2012 Richard Wonka.
7
Copyright (C) 2013-2014 Jérémy Rosen.
8
Copyright (C) 2016 Tobias Ellinghaus.
9
Copyright (C) 2020 Martin Burri.
10
Copyright (C) 2020 Pascal Obry.
11
Copyright (C) 2021 Profoktor.
12
Copyright (C) 2022 Martin Bařinka.
13
14
darktable is free software: you can redistribute it and/or modify
15
it under the terms of the GNU General Public License as published by
16
the Free Software Foundation, either version 3 of the License, or
17
(at your option) any later version.
18
19
darktable is distributed in the hope that it will be useful,
20
but WITHOUT ANY WARRANTY; without even the implied warranty of
21
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
GNU General Public License for more details.
23
24
You should have received a copy of the GNU General Public License
25
along with darktable. If not, see <http://www.gnu.org/licenses/>.
26
*/
27
#include <limits.h>
28
#include <setjmp.h>
29
#include <stdarg.h>
30
#include <stddef.h>
31
#include <stdint.h>
32
33
#include <cmocka.h>
34
35
#ifdef _WIN32
36
#include "
win/main_wrapper.h
"
37
#endif
38
39
static
void
test_sample
(
void
**
state
)
40
{
41
// most efficient test: does just nothing :-)
42
}
43
44
int
main
(
int
argc,
char
* argv[])
45
{
46
const
struct
CMUnitTest tests[] = {
47
cmocka_unit_test(
test_sample
)
48
};
49
50
return
cmocka_run_group_tests(tests, NULL, NULL);
51
}
52
// clang-format off
53
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
54
// vim: shiftwidth=2 expandtab tabstop=2 cindent
55
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
56
// clang-format on
57
main_wrapper.h
main
int main()
Definition
prova.c:47
state
const float uint32_t state[4]
Definition
src/develop/noise_generator.h:72
test_sample
static void test_sample(void **state)
Definition
test_sample.c:39
tests
unittests
test_sample.c
Generated by
1.9.8