Commit Graph

2227 Commits

Author SHA1 Message Date
Don Cross
fb251cf263 C#: Added unit test for Saturn illumination. 2019-12-01 10:50:26 -05:00
Don Cross
efd1629e9a C#: Implemented Illumination(). Not fully tested yet.
The unit test exercises Illumination() except for Saturn.
Will implement that next.
2019-12-01 10:27:40 -05:00
Don Cross
5ca590b176 Script to help me verify that functions exist in all languages. 2019-11-30 15:03:41 -05:00
Don Cross
df12a2c8c8 C#: Added SearchLunarApsis, NextLunarApsis. 2019-11-27 22:13:52 -05:00
Don Cross
943db81ca3 C lunar apsis test was not verifying apsis.kind.
This was a gap in the test coverage that would have allowed
the C version of Astronomy_SearchLunarApsis() or
Astronomy_NextLunarApsis() to return an invalid 'kind' field.
2019-11-27 20:50:19 -05:00
Don Cross
655b9bca46 C#: Implemented functions Elongation and SearchMaxElongation. 2019-11-06 18:50:06 -05:00
Don Cross
915f1007c3 C# - Added TestPlanetLongitudes tests. 2019-11-06 14:21:48 -05:00
Don Cross
e4c14816aa Merge branch 'csharp' of github.com:cosinekitty/astronomy into csharp 2019-11-05 22:25:16 -05:00
Don Cross
af106481f6 C#: Implemented SearchRelativeLongitude. 2019-11-05 22:12:21 -05:00
Don Cross
8a2957f441 Diff C# output against C output in Windows. 2019-11-05 19:44:40 -05:00
Don Cross
162f3c5683 C#: Added SearchHourAngle and SearchRiseSet. 2019-11-03 15:33:30 -05:00
Don Cross
fd0bc0f48a Ported MoonTest from C to C#. 2019-10-31 20:28:20 -04:00
Don Cross
d9f447a7a4 C#: Added moon phase/quarter search functions. 2019-10-30 22:14:54 -04:00
Don Cross
d4d8063f6f C#: verified seasons finder. 2019-10-29 21:38:47 -04:00
Don Cross
a449818c13 C#: work in progress : starting to implement search functions. 2019-10-29 20:41:56 -04:00
Don Cross
ced78fd910 Starting to work on C# SeasonTest. Parses input file. 2019-10-29 12:23:43 -04:00
Don Cross
b085c9b489 Validated that C# and C test output are identical within tolerance. 2019-10-29 12:01:57 -04:00
Don Cross
904037a126 C#: Implemented geocentric moon calculation. Passes unit tests. 2019-10-28 15:37:46 -04:00
Don Cross
5acf8230cd C#: Fixed bugs and validated Horizon().
Fixed bug in C# version nutation().
Need to write observer location to C# output file.
Now Horizon output verifies.
2019-10-28 13:47:46 -04:00
Don Cross
c92ac89986 C#: Added Horizon function. Fixed a couple of things in the C code. 2019-10-28 10:25:40 -04:00
Don Cross
9955fbd3f9 Implemented most of Equator(), GeoVector() functions.
Still need to implement moon calculations and associated code.
Reworked AstroVector as a struct instead of a class, to reduce
memory allocation overhead.
2019-10-27 21:02:00 -04:00
Don Cross
aae37b25e0 C#: Verified calculation of heliocentric vectors. 2019-10-25 17:20:50 -04:00
Don Cross
0bbbd06177 C#: Implemented Chebyshev calculations for Pluto. 2019-10-25 16:00:52 -04:00
Don Cross
b49973bec3 C# code generator adds whitespace for proper code indenting. 2019-10-25 15:09:45 -04:00
Don Cross
4173c88e63 C#: implemented VSOP code generator and CalcVsop function. Not yet tested. 2019-10-25 14:06:19 -04:00
Don Cross
c88c73437b C#: Adding more data structures and documentation. 2019-10-25 13:11:49 -04:00
Don Cross
8f3c348613 Added dotnet/csharp unit tests to Windows build. 2019-10-24 22:44:24 -04:00
Don Cross
eabbd4b628 Added stub documentation of all C# public symbols.
This is just to get build errors to go away.
Will have to come back and flesh out all of the documentation
once I start working on the C# documentation generator.
2019-10-24 22:36:18 -04:00
Don Cross
e7ae0288c1 C# work in progress - broken build checked in on purpose.
I'm checking in a broken build on purpose in this topic branch
so that I can move the work over to my Windows machine and use
Visual Studio to help with formatting XML comments.
2019-10-24 22:00:35 -04:00
Don Cross
2b1abb399a Implemented C# time functions and added unit tests for them. 2019-10-24 14:17:08 -04:00
Don Cross
6bbafac9d9 Removed trailing whitespace from ctest.c. 2019-10-24 14:11:38 -04:00
Don Cross
2846481d1b Starting to define class AstroTime. 2019-10-10 15:52:28 -04:00
Don Cross
2285e4032b Starting to compile generated C# code and reference it from unit test. 2019-10-10 15:19:47 -04: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
e39cb78ad7 Added C# logo and included placeholder in README language table. 2019-10-10 14:18:18 -04:00
Don Cross
bd284e289b Need to clean up microsoft package after installing it.
Fails Travis CI test because verify_clean script sees
an untracked file in Git.
2019-10-09 21:17:22 -04:00
Don Cross
565860ced7 Trying an alternative way to use both C and C# in Travis CI. 2019-10-09 21:04:43 -04:00
Don Cross
6c398251ef Added call to csharp unit test from 'run' script. 2019-10-09 20:38:10 -04:00
Don Cross
5db8a91404 Verifying that I can build dotnet core 2.2 programs in Travis CI. 2019-10-09 20:28:46 -04:00
Don Cross
4eed90fd42 Fixed broken links. 2019-08-16 17:54:55 -04:00
Don Cross
11b4678d2b Include culminate.py in demo documentation. 2019-08-11 16:11:14 -04:00
Don Cross
cb22bd40eb Added culminate.py demo program. 2019-08-10 18:02:15 -04:00
Don Cross
b508069049 Added Python demo: seasons.py. 2019-08-10 17:38:04 -04:00
Don Cross
0a8e470fed Added Python demo program positions.py. 2019-08-10 16:38:38 -04:00
Don Cross
7ce7af4a89 Added riseset demo program for Python.
Fixed bug in demo utility function ParseArgs.
Added README.md for Python demos.
2019-07-28 21:33:39 -04:00
Don Cross
07c846bd83 Published npm package 1.0.2. 2019-07-26 17:47:25 -04:00
Don Cross
7e21a5abb5 Python moonphase demo now has passing unit test. 2019-07-26 17:23:05 -04:00
Don Cross
91aafeaba7 Starting to add Python demo programs.
Created skeleton test harness for validating the demo programs.
Created stub moonphase.py.
Copied correct demo program outputs from nodejs; will tweak as needed.
Call the Python demo test harness from the 'run' script.
2019-07-26 16:49:48 -04:00
Don Cross
ab648ac6ab Finished first pass of Python documentation.
Also make pydown.py generate an error, not just a warning,
for missing documentation, now that all the documentation is filled out.
2019-07-25 23:00:53 -04:00
Don Cross
44084cdf20 Python: added more documentation. 2019-07-19 21:33:19 -04:00