Added AlignAfterOpenBracket: AlwaysBreak and BinPackArguments: true to clang-format. Updated test/bacnet c/h files with updated format.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
@@ -37,12 +37,10 @@
|
||||
|
||||
static void test_setup(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static void test_cleanup(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void testBACreal(Test *pTest)
|
||||
@@ -95,4 +93,3 @@ int main(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -60,16 +60,14 @@ static void testBACdouble(void)
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
#if defined(CONFIG_ZTEST_NEW_API)
|
||||
ZTEST_SUITE(bacreal_tests, NULL, NULL, NULL, NULL, NULL);
|
||||
#else
|
||||
void test_main(void)
|
||||
{
|
||||
ztest_test_suite(bacreal_tests,
|
||||
ztest_unit_test(testBACreal),
|
||||
ztest_unit_test(testBACdouble)
|
||||
);
|
||||
ztest_test_suite(
|
||||
bacreal_tests, ztest_unit_test(testBACreal),
|
||||
ztest_unit_test(testBACdouble));
|
||||
|
||||
ztest_run_test_suite(bacreal_tests);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user