tests: Fix tests code and comments style

This patch applies clang-format settings to most of tests files. Some
files were fixed "by-hand" to exclude some lines, which whould be less
readable after automatic style fixing.
Moreover, some comments (mostly in tests/lib/edid-test.c) were adjusted
to match coreboot coding style guidelines.

Change-Id: I69f25a7b6d8265800c731754e2fbb2255f482134
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60970
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
diff --git a/tests/lib/imd_cbmem-test.c b/tests/lib/imd_cbmem-test.c
index 1a1756c..fe25285b6 100644
--- a/tests/lib/imd_cbmem-test.c
+++ b/tests/lib/imd_cbmem-test.c
@@ -441,14 +441,13 @@
 	/* Check if start address of found entry is the same
 	   as the one returned by cbmem_find() function */
 	assert_ptr_equal(cbmem_find(CBMEM_ENTRY_ID),
-			cbmem_entry_start(cbmem_entry_find(CBMEM_ENTRY_ID)));
+			 cbmem_entry_start(cbmem_entry_find(CBMEM_ENTRY_ID)));
 	assert_ptr_equal(cbmem_find(id1), cbmem_entry_start(cbmem_entry_find(id1)));
 	assert_ptr_equal(cbmem_find(id2), cbmem_entry_start(cbmem_entry_find(id2)));
 }
 
 /* Reimplementation for testing purposes */
-void bootmem_add_range(uint64_t start, uint64_t size,
-		       const enum bootmem_type tag)
+void bootmem_add_range(uint64_t start, uint64_t size, const enum bootmem_type tag)
 {
 	check_expected(start);
 	check_expected(size);