mirror of
https://github.com/NASAWorldWind/WebWorldWind.git
synced 2026-01-25 15:23:04 +00:00
23 lines
555 B
JavaScript
23 lines
555 B
JavaScript
/*
|
|
* Copyright (C) 2014 United States Government as represented by the Administrator of the
|
|
* National Aeronautics and Space Administration. All Rights Reserved.
|
|
*/
|
|
/**
|
|
* @version $Id: Vec3.test.js 2498 2014-12-01 22:21:09Z danm $
|
|
*/
|
|
require({
|
|
baseUrl: '/test/'
|
|
}, [
|
|
'src/geom/Vec3'
|
|
], function (Vec3) {
|
|
TestCase("Vec3Test", {
|
|
testCtor: function () {
|
|
var vec3 = new Vec3(9, 8, 7);
|
|
|
|
assertEquals(9, vec3[0]);
|
|
assertEquals(8, vec3[1]);
|
|
assertEquals(7, vec3[2]);
|
|
}
|
|
});
|
|
});
|