/* This file is part of KDDockWidgets. SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only Contact KDAB at for commercial licensing options. */ #include "../main.h" #include "controllers/Frame.h" #include "controllers/Stack.h" TEST_CASE("Stack ctor") { Controllers::Frame frame(nullptr, {}); Controllers::Stack stack(&frame, {}); CHECK(stack.view()->is(Type::Stack)); CHECK(stack.view()->asWrapper()->is(Type::Stack)); }