public void TestCompoundCoordinateSysem1()
 {
     try
     {
         _factory.CreateCompoundCoordinateSystem("-1");
     }
     catch (ArgumentException)
     {
     }
 }
        public void TestWriteCompoundCoordinateSystem()
        {
            ICompoundCoordinateSystem compoundsCoordinateSsytem = _factory.CreateCompoundCoordinateSystem("7405");
            TextWriter         textwriter         = new StringWriter();
            IndentedTextWriter indentedTextWriter = new IndentedTextWriter(textwriter);

            //CoordinateSystemWktWriter.WriteCompoundCoordinateSystem(compoundsCoordinateSsytem, indentedTextWriter);
            CoordinateSystemWktWriter.Write(compoundsCoordinateSsytem, indentedTextWriter);
            bool same = Compare.CompareAgainstString(Global.GetUnitTestRootDirectory() + @"\IO\CompoundCoordinateSystem.txt", textwriter.ToString());

            Assertion.AssertEquals("test 1", true, same);
        }
예제 #3
0
 public void TestCompoundCoordinateSystem()
 {
     ICompoundCoordinateSystem compoundCoordinateSystem = _factory.CreateCompoundCoordinateSystem("7405");
     string test1 = CoordinateSystemXmlWriter.Write(compoundCoordinateSystem);
 }