Files
dotnet-runtime/src/libraries/System.IO.FileSystem.Primitives/tests/FileAccessTests.cs
T

21 lines
550 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using Xunit;
namespace System.IO.Tests
{
public static class FileAccessTests
{
[Fact]
public static void ValueTest()
{
Assert.Equal(1, (int)FileAccess.Read);
Assert.Equal(2, (int)FileAccess.Write);
Assert.Equal(3, (int)FileAccess.ReadWrite);
}
}
}