Improve ODBTests
parent
d71bba3276
commit
26b5f820a8
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue