blob: 9efb8024ae62a6c423c2589586c253012ce677a9 [file] [log] [blame]
// 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 <gtest/gtest.h>
#include "libec/reboot_command.h"
namespace ec {
namespace {
TEST(RebootCommand, RebootCommand) {
RebootCommand cmd;
EXPECT_EQ(cmd.Version(), 0);
EXPECT_EQ(cmd.Command(), EC_CMD_REBOOT);
}
} // namespace
} // namespace ec