should = require('should'); describe('MAVLink 2.0 message registry', function() { beforeEach(function() { var {mavlink20, MAVLink20Processor} = require('../implementations/mavlink_ardupilotmega_v2.0/mavlink.js'); }); it('defines constructors for every message', function() { mavlink20.messages['gps_raw_int'].should.be.a.function; }); it('assigns message properties, _format with int64 (q), gps_raw_int', function() { var m = new mavlink20.messages['gps_raw_int'](); m._format.should.equal("