File: System\Drawing\BufferedGraphicsManagerTests.cs
Web Access
Project: src\src\System.Drawing.Common\tests\System.Drawing.Common.Tests.csproj (System.Drawing.Common.Tests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Drawing.Tests;
 
public class BufferedGraphicsManagerTests
{
    [Fact]
    public void Current_Get_ReturnsSameInstance()
    {
        Assert.Same(BufferedGraphicsManager.Current, BufferedGraphicsManager.Current);
        Assert.NotNull(BufferedGraphicsManager.Current);
    }
}