public void TestWriteVerticalDatum() { IVerticalDatum verticalDatum = _factory.CreateVerticalDatum("5101"); TextWriter textwriter = new StringWriter(); IndentedTextWriter indentedTextWriter = new IndentedTextWriter(textwriter); CoordinateSystemWktWriter.Write(verticalDatum, indentedTextWriter); bool same = Compare.CompareAgainstString(Global.GetUnitTestRootDirectory() + @"\IO\VerticalDatum.txt", textwriter.ToString()); Assertion.AssertEquals("test 1", true, same); }
public void TestCreateVerticalDatumTest1() { IVerticalDatum verticalDatum = _factory.CreateVerticalDatum("5101"); Assertion.AssertEquals("VeticalDatum ctor1.", "Ordnance Datum Newlyn", verticalDatum.Name); }