コード例 #1
0
ファイル: DatumTest.cs プロジェクト: vmoll/geotools
 public void Test_Constructor()
 {
     IDatum datum = new Datum(DatumType.IHD_Geocentric,"remarks","authority","authoritycode","name","alias","abbreviation");
     Assertion.AssertEquals("ctor 0. ", DatumType.IHD_Geocentric, datum.DatumType);
     Assertion.AssertEquals("ctor 1. ", "abbreviation", datum.Abbreviation);
     Assertion.AssertEquals("ctor 2. ", "alias", datum.Alias);
     Assertion.AssertEquals("ctor 3. ", "authority", datum.Authority);
     Assertion.AssertEquals("ctor 4. ", "authoritycode", datum.AuthorityCode);
     Assertion.AssertEquals("ctor 5. ", "name", datum.Name);
     Assertion.AssertEquals("ctor 6. ", "remarks", datum.Remarks);
     //Assertion.AssertEquals("ctor 7. ", null, datum.WKT);
     //Assertion.AssertEquals("ctor 8. ", null, datum.XML);
 }
コード例 #2
0
ファイル: DatumTest.cs プロジェクト: vmoll/geotools
 public void Test_TestConstructor2()
 {
     IDatum datum = new Datum(DatumType.IHD_Geocentric);
     Assertion.AssertEquals("ctor 0. ", DatumType.IHD_Geocentric, datum.DatumType);
 }