Don Cross
84d6aff35a
JS: Added function DefineStar.
...
I'm starting to implement the ability to define
up to 8 distinct points in the sky as "stars"
that will be allowed as a `body` parameter to
some Astronomy Engine functions, to be determined.
2022-11-21 12:53:45 -05:00
Don Cross
6b56bf0cfd
Finished refactoring JavaScript unit tests.
...
From now on, it will be simpler to add new JavaScript unit tests.
In most cases, it should no longer be necessary to update the
bash script unit_test_js or the batch file run.bat when new
JavaScript tests are added.
2020-06-03 10:20:52 -04:00
Don Cross
e642000cf4
Merged constellation into test.js
2020-06-03 09:54:49 -04:00
Don Cross
ecd5376927
Merged magnitude into test.js
2020-06-03 09:51:31 -04:00
Don Cross
ae45181bb8
Merged rotation and refraction into test.js.
2020-06-03 09:47:26 -04:00
Don Cross
302ade93d0
Merged RiseSet into test.js. More work cleaning up JavaScript unit tests.
2020-06-03 09:36:20 -04:00
Don Cross
87b18dc022
Merged seasons into test.js.
2020-06-02 22:24:47 -04:00
Don Cross
d7c8b8c120
Merged elongation into test.js.
2020-06-02 22:11:07 -04:00
Don Cross
f3f6515033
Merged planet apsis into test.js.
2020-06-02 21:48:27 -04:00
Don Cross
8784c39d7e
Merged lunar eclipse into test.js.
2020-06-02 21:42:35 -04:00
Don Cross
f4536ba039
Merged lunar apsis test into test.js.
2020-06-02 21:28:50 -04:00
Don Cross
3de8ee10db
Merged moon phase test into test.js.
2020-06-02 21:11:53 -04:00
Don Cross
ded450d226
Starting to rework JavaScript tests to all be inside a single source file test.js.
2020-06-02 19:16:44 -04:00
Don Cross
e9503bc202
Made 'generate check' output less verbose unless -v is specified.
...
This completes my initial pass for making unit test less verbose.
2020-05-26 12:23:40 -04:00
Don Cross
75e26ccac2
Changed verbosity option from -d to more standard -v.
2020-05-26 11:58:02 -04:00
Don Cross
b48ac658da
Made JavaScript unit tests less verbose by default.
2020-05-26 11:43:03 -04:00
Don Cross
b970694aa2
Implemented JavaScript version of lunar eclipse functions.
2020-05-16 15:43:16 -04:00
Don Cross
c955a56210
Added constellation finder function to JavaScript code.
2020-05-04 10:09:46 -04:00
Don Cross
60db741717
Ported planetary apsis search functions to JavaScript.
2020-01-07 14:09:45 -05:00
Don Cross
3d38890aaf
Merge branch 'master' into csharp.
...
Includes coordinate transform logic support in
C, JavaScript, and Python.
Will start porting to C# soon.
2019-12-19 14:28:09 -05:00
Don Cross
8322975e15
JS: Added inverse matrix unit test. Fixed bugs it uncovered.
2019-12-13 07:21:24 -05:00
Don Cross
7bff374d57
Starting to add support for generating C# code.
...
Decided to move call to makedoc script from run script.
It was confusing that it was hidden inside unit_test_js,
especially because it invokes the code generator for
all supported languages.
2019-10-10 14:56:49 -04:00
Don Cross
dfb888efb9
Measure time required by JS and C astro_check.
2019-06-27 15:27:01 -04:00
Don Cross
608d0c6477
JS output files in temp directory now all begin with js_.
2019-05-21 19:45:39 -04:00
Don Cross
d0cc01186e
Starting to validate C VSOP calculations.
...
Still need to implement GeoMoon and Chebyshev Pluto calculations.
Generating output file temp/c_check.txt that is compatible with
the existing verifier code I wrote for the JavaScript library.
2019-05-17 18:24:56 -04:00
Don Cross
6615e3b9f8
Starting to unit test astronomy.c.
...
Beginnings of a unit test for the C version of Astronomy Engine.
Currently verifies that Astro_MakeTime() is working correctly.
2019-05-16 16:18:03 -04:00