1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/unittests/tests-sht1x/tests-sht1x.h
Marian Buschsieweke 2bff79ef56
tests/unittests: Added unit tests for sht1x
- Added unit tests for new integer only arithmetic
    - Temperature conversion differs at most 0.01°C from double arithmetic
    - Humidity conversions differs at most 0.1% from double arithmetic
2018-06-27 08:58:02 +02:00

37 lines
690 B
C

/*
* Copyright (C) 2018 Otto-von-Guericke-Universität Magdeburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @addtogroup unittests
* @{
*
* @file
* @brief Unittests for the conversions used in the sht1x driver
*
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef TESTS_SHT1X_H
#define TESTS_SHT1X_H
#include "embUnit.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief The entry point of this test suite.
*/
void tests_sht1x(void);
#ifdef __cplusplus
}
#endif
#endif /* TESTS_SHT1X_H */
/** @} */