Files
YMhut-box-C-/参考/wpfui-main/tests/Wpf.Ui.Gallery.IntegrationTests/WindowTests.cs
T
2026-07-06 23:05:40 +08:00

18 lines
597 B
C#

// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
// Copyright (C) Leszek Pomianowski and WPF UI Contributors.
// All Rights Reserved.
namespace Wpf.Ui.Gallery.IntegrationTests;
public sealed class WindowTests() : UiTest
{
[Fact]
public void WindowTitle_ShouldMatchPredefinedOne()
{
string? title = MainWindow?.Title;
title.Should().Be("WPF UI Gallery", "because the main window title should match the predefined one");
}
}