blob: a6faf2078c8365eb8b01adef10ba160582a81302 [file] [log] [blame] [edit]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "libec/reboot_command.h"
#include <gtest/gtest.h>
namespace ec {
namespace {
TEST(RebootCommand, RebootCommand) {
RebootCommand cmd;
EXPECT_EQ(cmd.Version(), 0);
EXPECT_EQ(cmd.Command(), EC_CMD_REBOOT);
}
} // namespace
} // namespace ec