Smdn.Test.NUnit.Constraints 4.1.0

Prefix Reserved
dotnet add package Smdn.Test.NUnit.Constraints --version 4.1.0                
NuGet\Install-Package Smdn.Test.NUnit.Constraints -Version 4.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Smdn.Test.NUnit.Constraints" Version="4.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Smdn.Test.NUnit.Constraints --version 4.1.0                
#r "nuget: Smdn.Test.NUnit.Constraints, 4.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Smdn.Test.NUnit.Constraints as a Cake Addin
#addin nuget:?package=Smdn.Test.NUnit.Constraints&version=4.1.0

// Install Smdn.Test.NUnit.Constraints as a Cake Tool
#tool nuget:?package=Smdn.Test.NUnit.Constraints&version=4.1.0                

Smdn.Test.NUnit.Constraints-4.1.0

NUnit constraints

API List

List of APIs exposed by assembly Smdn.Test.NUnit.Constraints-4.1.0 (net8.0)

// Smdn.Test.NUnit.Constraints.dll (Smdn.Test.NUnit.Constraints-4.1.0)
//   Name: Smdn.Test.NUnit.Constraints
//   AssemblyVersion: 4.1.0.0
//   InformationalVersion: 4.1.0+504f70f8787ea5c18b1068c405af660ada6294ee
//   TargetFramework: .NETCoreApp,Version=v8.0
//   Configuration: Release
//   Referenced assemblies:
//     Smdn.Fundamental.ControlPicture, Version=3.0.0.0, Culture=neutral
//     System.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
//     System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     nunit.framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb

using System;
using NUnit.Framework;
using NUnit.Framework.Constraints;
using Smdn.Test.NUnit.Constraints.Buffers;

namespace Smdn.Test.NUnit.Constraints.Buffers {
  public class Is : Is {
    public static ReadOnlyByteMemoryEqualConstraint EqualTo(Memory<byte> expected) {}
    public static ReadOnlyByteMemoryEqualConstraint EqualTo(ReadOnlyMemory<byte> expected) {}
    public static ReadOnlyByteMemoryEqualConstraint EqualTo(byte[] expected) {}
    public static ReadOnlyMemoryEqualConstraint<T> EqualTo<T>(Memory<T> expected) where T : IEquatable<T> {}
    public static ReadOnlyMemoryEqualConstraint<T> EqualTo<T>(ReadOnlyMemory<T> expected) where T : IEquatable<T> {}
    public static ReadOnlyMemoryEqualConstraint<T> EqualTo<T>(T[] expected) where T : IEquatable<T> {}

    public Is() {}
  }

  public class ReadOnlyByteMemoryEqualConstraint : EqualConstraint {
    public ReadOnlyByteMemoryEqualConstraint(ReadOnlyMemory<byte> expected) {}

    public override string Description { get; }
    public ReadOnlyMemory<byte> Expected { get; }

    public override ConstraintResult ApplyTo<TActual>(TActual actual) {}
  }

  public class ReadOnlyByteMemoryEqualConstraintResult : EqualConstraintResult {
    public ReadOnlyByteMemoryEqualConstraintResult(ReadOnlyByteMemoryEqualConstraint constraint, object actual, bool hasSucceeded) {}

    public override void WriteMessageTo(MessageWriter writer) {}
  }

  public class ReadOnlyMemoryEqualConstraintResult<T> : EqualConstraintResult where T : IEquatable<T> {
    public ReadOnlyMemoryEqualConstraintResult(ReadOnlyMemoryEqualConstraint<T> constraint, object actual, bool hasSucceeded) {}

    public override void WriteMessageTo(MessageWriter writer) {}
  }

  public class ReadOnlyMemoryEqualConstraint<T> : EqualConstraint where T : IEquatable<T> {
    public ReadOnlyMemoryEqualConstraint(ReadOnlyMemory<T> expected) {}

    public override string Description { get; }
    public ReadOnlyMemory<T> Expected { get; }

    public override ConstraintResult ApplyTo<TActual>(TActual actual) {}
  }
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.1.0 117 12/12/2024
4.0.0 2,865 12/14/2023
1.0.1 340 1/5/2023
1.0.0 2,604 8/23/2021