using FluentAssertions.Primitives;
public static void Main()
var str = "Hello, world!";
TestValue = "Hello, world!"
Program.Assert(test, test);
Console.WriteLine("Pass");
Program.Assert(test, new TestClass());
Console.WriteLine("Fail");
public static AndConstraint<ObjectAssertions> Assert(object input, object expected)
return input.Should().Be(expected);
public string TestValue { get; set; }