blob: 489e71aac54bc24c1d2282d44eacd550dde020c7 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config/id.h"
#include "gflags/gflags.h"
#include "glog/logging.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
namespace cobalt {
namespace config {
TEST(IdFromName, Known) {
const uint32_t expected = 0x8b85b08d;
EXPECT_EQ(expected, IdFromName("test_name"));
}
} // namespace config
} // namespace cobalt