From 9d8651c10c7cd431e78757dd465ba30f723d16e2 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 23 Feb 2015 23:27:51 +0100 Subject: mathlib test: Print all test types which are actually performed --- src/systemcmds/tests/test_mathlib.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/systemcmds') diff --git a/src/systemcmds/tests/test_mathlib.cpp b/src/systemcmds/tests/test_mathlib.cpp index d78be4826..0519a55a9 100644 --- a/src/systemcmds/tests/test_mathlib.cpp +++ b/src/systemcmds/tests/test_mathlib.cpp @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (c) 2013 PX4 Development Team. All rights reserved. + * Copyright (c) 2013-2015 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -158,6 +158,7 @@ int test_mathlib(int argc, char *argv[]) } { + warnx("Nonsymmetric matrix operations test") // test nonsymmetric +, -, +=, -= float data1[2][3] = {{1, 2, 3}, {4, 5, 6}}; @@ -215,6 +216,8 @@ int test_mathlib(int argc, char *argv[]) float diff = 0.1f; float tol = 0.00001f; + warnx("Quaternion transformation methods test."); + for (float roll = -M_PI_F; roll <= M_PI_F; roll += diff) { for (float pitch = -M_PI_2_F; pitch <= M_PI_2_F; pitch += diff) { for (float yaw = -M_PI_F; yaw <= M_PI_F; yaw += diff) { -- cgit v1.2.3