Improve ODBTests

pull/2/head
Harald Wolff 2019-10-08 12:14:27 +02:00
parent d71bba3276
commit 26b5f820a8
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ using ln.types.odb.values;
using NUnit.Framework;
using ln.types.odb.ng.mappings;
using ln.types.odb.ng.diff;
using System.Runtime.CompilerServices;
namespace ln.types.test
{
[TestFixture()]
@ -136,6 +137,8 @@ namespace ln.types.test
Person p2 = classMapping.UnmapValue(Mapper.Default, doc2) as Person;
Assert.AreEqual(RuntimeHelpers.GetHashCode(persons[0]), RuntimeHelpers.GetHashCode(p2));
Assert.AreEqual(persons[0], p2);
Assert.IsTrue(Test.FieldsAreEqual(persons[0], p2));