Index: Core/Components/test/Core.Components.Gis.IO.Test/Writers/PolylineShapeFileWriterTest.cs =================================================================== diff -u -r4851d9c2b000de0707f6cce0872979ecc1e3dead -rb88da29de921d528b459488d67dc15a4ec692b30 --- Core/Components/test/Core.Components.Gis.IO.Test/Writers/PolylineShapeFileWriterTest.cs (.../PolylineShapeFileWriterTest.cs) (revision 4851d9c2b000de0707f6cce0872979ecc1e3dead) +++ Core/Components/test/Core.Components.Gis.IO.Test/Writers/PolylineShapeFileWriterTest.cs (.../PolylineShapeFileWriterTest.cs) (revision b88da29de921d528b459488d67dc15a4ec692b30) @@ -131,8 +131,14 @@ MD5.Create().ComputeHash(File.ReadAllBytes(pathName + ".shp"))); Assert.AreEqual(MD5.Create().ComputeHash(File.ReadAllBytes(refPathName + ".shx")), MD5.Create().ComputeHash(File.ReadAllBytes(pathName + ".shx"))); - Assert.AreEqual(MD5.Create().ComputeHash(File.ReadAllBytes(refPathName + ".dbf")), - MD5.Create().ComputeHash(File.ReadAllBytes(pathName + ".dbf"))); + + int headerLength = 32; + int bodyLength = 45; + var refContent = File.ReadAllBytes(refPathName + ".dbf"); + var content = File.ReadAllBytes(pathName + ".dbf"); + Assert.AreEqual(headerLength + bodyLength, content.Length); + Assert.AreEqual(refContent.Skip(headerLength).Take(45), + content.Skip(headerLength).Take(45)); } private static MapFeature[] CreateFeatures(double seed)