コード例 #1
0
 public void TestCompoundCoordinateSysem1()
 {
     try
     {
         _factory.CreateCompoundCoordinateSystem("-1");
     }
     catch (ArgumentException)
     {
     }
 }
コード例 #2
0
        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);
 }