Added AlignAfterOpenBracket: AlwaysBreak and BinPackArguments: true to clang-format. Updated test/bacnet c/h files with updated format.

This commit is contained in:
Steve Karg
2024-04-24 09:38:12 -05:00
parent 1aaebe9414
commit 70c54817fd
120 changed files with 2182 additions and 1894 deletions
+1 -4
View File
@@ -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;
}
+3 -5
View File
@@ -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);
}