Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: src/platform/vboot_reference/tests/crc32_test.c

Issue 2303003: Moved cgptlib into vboot_firmware (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 #include "crc32_test.h" 6 #include "crc32_test.h"
7 #include "cgptlib_test.h" 7 #include "cgptlib_test.h"
8 #include "crc32.h" 8 #include "crc32.h"
9 #include "utility.h" 9 #include "utility.h"
10 10
(...skipping 27 matching lines...) Expand all
38 int i; 38 int i;
39 39
40 for (i = 0; i < ARRAY_SIZE(cases); ++i) { 40 for (i = 0; i < ARRAY_SIZE(cases); ++i) {
41 uint32_t crc32; 41 uint32_t crc32;
42 42
43 crc32 = Crc32(cases[i].vector, cases[i].len); 43 crc32 = Crc32(cases[i].vector, cases[i].len);
44 EXPECT(crc32 == cases[i].crc32); 44 EXPECT(crc32 == cases[i].crc32);
45 } 45 }
46 return TEST_OK; 46 return TEST_OK;
47 } 47 }
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/tests/crc32_test.h ('k') | src/platform/vboot_reference/tests/quick_sort_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698