Return Windows error code when create-process fails.
[chromium-blink-merge.git] / chrome / renderer / safe_browsing / murmurhash3_util_unittest.cc
blobf550041e41481c83658bbf143f6933fd7ade9078
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Unit test to verify basic operation of murmurhash3.
7 #include "chrome/renderer/safe_browsing/murmurhash3_util.h"
9 #include <string>
10 #include "testing/gtest/include/gtest/gtest.h"
12 namespace safe_browsing {
14 TEST(MurmurHash3UtilTest, MurmurHash3String) {
15 EXPECT_EQ(893017187U, MurmurHash3String("abcd", 1234U));
16 EXPECT_EQ(3322282861U, MurmurHash3String("abcde", 56789U));
19 } // namespace safe_browsing