2021-09-18 20:59:21 +02:00
|
|
|
using FluentAssertions;
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
|
|
namespace QuestPDF.UnitTests
|
|
|
|
|
{
|
|
|
|
|
[SetUpFixture]
|
|
|
|
|
public class TestsBase
|
|
|
|
|
{
|
|
|
|
|
[OneTimeSetUp]
|
|
|
|
|
public void RunBeforeAnyTests()
|
|
|
|
|
{
|
|
|
|
|
AssertionOptions.AssertEquivalencyUsing(options => options
|
|
|
|
|
.IncludingNestedObjects()
|
|
|
|
|
.IncludingInternalProperties()
|
2021-09-18 23:40:21 +02:00
|
|
|
.IncludingInternalFields()
|
2021-09-18 20:59:21 +02:00
|
|
|
.AllowingInfiniteRecursion()
|
|
|
|
|
.RespectingRuntimeTypes()
|
|
|
|
|
.WithTracing()
|
|
|
|
|
.WithStrictOrdering());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|