Session 022: Migrate Lts/Tools (72 submodules) to Qt6
- Copied complete Lts/Tools directory from qt5-before to qt6-after - Updated 32 CMakeLists.txt files (Qt5:: → Qt6::) - Tools subdirectory already included in parent Lts/CMakeLists.txt - All 72 tool submodules now present in qt6-migrated-legatus - Includes: Adler, ArAssets, ConfigX, DBAdministration, DBUpdate, DdsView, InfrastructureManagement, and 67 more tools - C++17 standard (RTI 7.7.0 compatibility maintained) - Tests deferred until final validation phase Migration progress: ✅ Lts/Application (68 files) ✅ Lts/DDS (verified Qt6-ready) ✅ Lts/Plugins (60 submodules, verified) ✅ Lts/Projects (5 submodules, verified) ✅ Lts/Proxies (13 submodules, verified) ✅ Lts/Services (47 submodules, verified) ✅ Lts/Tools (72 submodules, copied + CMake updated) ✅ Lts/Viewer (LtsFileDialog, LtsReportDisplay, SituationMap) 🟡 TetraIF (partial) 🟡 Z (partial: nglwidgets, QtSingleApplication, qsql_informix, WMS_Interface)
This commit is contained in:
1 parent
01dce5fe52
commit
d5c13033e2
1792 files changed
+982018
No files matched your search
Generated
Vendored
Executable
+37
@@ -0,0 +1,37 @@
|
||||
var should = require('chai').should();
|
||||
var mgrs = require('../dist/mgrs');
|
||||
describe('First MGRS set', function() {
|
||||
var mgrsStr = "33UXP04";
|
||||
var point = mgrs.toPoint(mgrsStr);
|
||||
it('Longitude of point from MGRS correct.', function() {
|
||||
point[0].should.be.closeTo(16.41450, 0.000001);
|
||||
});
|
||||
it('Latitude of point from MGRS correct.', function() {
|
||||
point[1].should.be.closeTo(48.24949, 0.000001);
|
||||
});
|
||||
it('MGRS reference with highest accuracy correct.', function() {
|
||||
mgrs.forward(point).should.equal("33UXP0500444998");
|
||||
});
|
||||
it('MGRS reference with 1-digit accuracy correct.', function() {
|
||||
mgrs.forward(point,1).should.equal(mgrsStr);
|
||||
});
|
||||
});
|
||||
describe('Second MGRS set', function() {
|
||||
var mgrsStr = "24XWT783908"; // near UTM zone border, so there are two ways to reference this
|
||||
var point = mgrs.toPoint(mgrsStr);
|
||||
it('Longitude of point from MGRS correct.', function() {
|
||||
point[0].should.be.closeTo(-32.66433, 0.00001);
|
||||
});
|
||||
it('Latitude of point from MGRS correct.', function() {
|
||||
point[1].should.be.closeTo(83.62778, 0.00001);
|
||||
});
|
||||
it('MGRS reference with 1-digit accuracy correct.', function() {
|
||||
mgrs.forward(point,3).should.equal('25XEN041865');
|
||||
});
|
||||
it('MGRS reference with 5-digit accuracy, northing all zeros', function(){
|
||||
mgrs.forward([0,0],5).should.equal('31NAA6602100000');
|
||||
});
|
||||
it('MGRS reference with 5-digit accuracy, northing one digit', function(){
|
||||
mgrs.forward([0,0.00001],5).should.equal('31NAA6602100001');
|
||||
});
|
||||
})
|
||||
Reference in new issue
Block a user