// 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 "amlogic-video.h" | |
#include "gtest/gtest.h" | |
#include "tests/test_support.h" | |
TEST(Binding, Destruction) { | |
auto video = std::make_unique<AmlogicVideo>(); | |
ASSERT_TRUE(video); | |
zx_status_t status = video->InitRegisters(TestSupport::parent_device()); | |
EXPECT_EQ(ZX_OK, status); | |
video.reset(); | |
} |