public void Test_CreateHorizontalDatum()
        {
            try
            {
                IHorizontalDatum horizontalDatum = _factory.CreateHorizontalDatum("-1");
                Assertion.Fail("Create Horizontal Datum 1.");
            }
            catch (ArgumentException)
            {
            }

            try
            {
                IHorizontalDatum horizontalDatum = _factory.CreateHorizontalDatum(null);
                Assertion.Fail("Create Horizontal Datum 2.");
            }
            catch (ArgumentNullException)
            {
            }
        }
        public void TestWriteDatum()
        {
            IHorizontalDatum   horizontalDatum    = _factory.CreateHorizontalDatum("6277");
            TextWriter         textwriter         = new StringWriter();
            IndentedTextWriter indentedTextWriter = new IndentedTextWriter(textwriter);

            CoordinateSystemWktWriter.Write(horizontalDatum, indentedTextWriter);
            bool same = Compare.CompareAgainstString(Global.GetUnitTestRootDirectory() + @"\IO\HorizontalDatum.txt", textwriter.ToString());

            Assertion.AssertEquals("test 1", true, same);
        }