test/utils_tests.h

Sun, 21 Jan 2018 14:10:59 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jan 2018 14:10:59 +0100
changeset 273
9c1591b3c4a4
parent 259
2f5dea574a75
permissions
-rw-r--r--

fixes return value for multiplication with zero in ucx_szmul

olaf@142 1 /*
olaf@142 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
olaf@142 3 *
universe@259 4 * Copyright 2017 Mike Becker, Olaf Wintermann All rights reserved.
olaf@142 5 *
olaf@142 6 * Redistribution and use in source and binary forms, with or without
olaf@142 7 * modification, are permitted provided that the following conditions are met:
olaf@142 8 *
olaf@142 9 * 1. Redistributions of source code must retain the above copyright
olaf@142 10 * notice, this list of conditions and the following disclaimer.
olaf@142 11 *
olaf@142 12 * 2. Redistributions in binary form must reproduce the above copyright
olaf@142 13 * notice, this list of conditions and the following disclaimer in the
olaf@142 14 * documentation and/or other materials provided with the distribution.
olaf@142 15 *
olaf@142 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
olaf@142 17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
olaf@142 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
olaf@142 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
olaf@142 20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
olaf@142 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
olaf@142 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
olaf@142 23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
olaf@142 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
olaf@142 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
olaf@142 26 * POSSIBILITY OF SUCH DAMAGE.
olaf@142 27 */
olaf@142 28
olaf@142 29 #ifndef UTILS_TESTS_H
olaf@142 30 #define UTILS_TESTS_H
olaf@142 31
universe@251 32 #include <ucx/test.h>
universe@251 33 #include <ucx/utils.h>
olaf@142 34
olaf@142 35 #ifdef __cplusplus
olaf@142 36 extern "C" {
olaf@142 37 #endif
olaf@142 38
olaf@142 39 UCX_TEST(test_ucx_fprintf);
olaf@142 40 UCX_TEST(test_ucx_asprintf);
universe@223 41 UCX_TEST(test_ucx_sprintf);
universe@223 42 UCX_TEST(test_ucx_bprintf);
universe@168 43 UCX_TEST(test_ucx_stream_copy);
olaf@142 44
olaf@142 45 #ifdef __cplusplus
olaf@142 46 }
olaf@142 47 #endif
olaf@142 48
olaf@142 49 #endif /* UTILS_TESTS_H */
olaf@142 50

mercurial