363 Commits

Author SHA1 Message Date
SiboVG
a449d7b7f1 Add unit tests for RockSim SubAssembly import 2022-11-04 00:59:09 +01:00
SiboVG
3d3ad2486b Rename SubAssembly RockSim test
This is really confusing as it's not about the SubAssembly component in RockSim...
2022-11-03 21:44:14 +01:00
SiboVG
c1f251c6f4 [#1776] Add unit tests for RockSim import fins on transition 2022-11-03 02:10:37 +01:00
SiboVG
78ed64e848 Add unit tests for RockSim tube coupler child export/import 2022-10-31 12:44:52 +01:00
SiboVG
e8d971a9df Rename Rocksim to RockSim
This is a personal annoyance of mine...
2022-10-29 02:53:43 +02:00
Sibo Van Gool
4deb6da68d
Merge pull request #1766 from SiboVG/issue-1687
[#1687] Save stage activeness to design file
2022-10-28 21:08:44 +02:00
SiboVG
70eb5ea33f Add unit tests for software updater 2022-10-27 15:39:10 +02:00
SiboVG
5cfd9032c6 Delete left-over dummy test
This test was necessary because otherwise the unit tests would fail due to a lack of unit tests in this file
2022-10-25 16:55:23 +02:00
SiboVG
228e8eb7f5 Add unit tests for stage activeness saving 2022-10-25 15:21:09 +02:00
SiboVG
1813806239 Have createFlightConfiguration return FlightConfiguration instead of ID 2022-10-25 14:54:59 +02:00
SiboVG
3a0a185911 Add unit test for saving stage activeness 2022-10-25 12:47:35 +02:00
SiboVG
9f5fb060d2 [#1750] Separate override subcomponents to mass, CG, and CD subcomponents override 2022-10-18 21:40:14 +02:00
SiboVG
e9bc8d1dd1 Add unit tests for flight events pt.2 2022-10-17 17:56:40 +02:00
SiboVG
6c97dc8440 Merge branch 'unstable' into issue-1621 2022-10-17 17:30:20 +02:00
luz paz
74567708a8 Fix various typos
Found via `codespell -q 3 -S ./swing,./**/l10n,*.eps -L bu,cant,cna,fo,gool,iif,reencode,wallthickness`
2022-10-15 14:32:21 -04:00
SiboVG
46c7deacb1 Add unit tests for mass object auto radius 2022-10-09 20:16:49 +02:00
SiboVG
7be9dc238a Add unit tests for flight events 2022-09-28 13:12:57 +02:00
SiboVG
df9ffd1550 Merge branch 'unstable' into issue-1621 2022-09-28 12:42:55 +02:00
SiboVG
b5e7515f63 Remove unnecessary simulation listener 2022-09-28 12:36:19 +02:00
Sibo Van Gool
4cf85fe6f2
Merge branch 'unstable' into issue-1680 2022-09-27 10:52:11 +02:00
SiboVG
d9af73582e Add unit tests for axial stage disabling 2022-09-24 21:22:43 +02:00
SiboVG
bbbf0be15b Fix cheating unit test ;)
Booster D should have stage number 4, not 3 as it was previously
2022-09-24 20:50:25 +02:00
SiboVG
cf7238c128 Add empty stage unit tests for mass calc 2022-09-23 19:51:53 +02:00
SiboVG
9d8ca907bb Add unit tests for simulating empty stages 2022-09-23 02:43:02 +02:00
SiboVG
948d655cf2 Increase error margin for DisableStageTest 2022-09-13 10:43:43 +02:00
JoePfeiffer
94bc305ccb Allow user to turn off CD override for subcomponents 2022-08-30 11:31:55 -06:00
JoePfeiffer
1a1e5b2e62 Changed name of "OverrideSubcomponents" to "SubcomponentsOverridden" to improve method name generated by BooleanModel. isSubcomponentsOverridden() is like fingernails on a blackboard, but it's not as bad as isOverrideSubcomponents().
Added CD override logic to RocketComponent.java
2022-08-30 09:57:39 -06:00
SiboVG
735057b4c6 Improved DisableStageTest 2022-08-23 21:26:44 +02:00
SiboVG
e7ab5601e8 Increase test error margin
Still sometimes a failed test due to this
2022-08-23 16:08:47 +02:00
SiboVG
9a59575424 Update unit tests
Because simulations are not exact, the sim results can vary, which causes unittests to fail sporadically. So increase the error margin...
2022-07-23 15:15:18 +02:00
SiboVG
42a49a0aac Add unit tests for disabling stages 2022-06-26 01:14:27 +02:00
SiboVG
6b23576c34 Fix unit tests
Because of the new behavior 'disable sub-stages when parent stage is disabled', some unit tests needed to be rewritten
2022-06-26 00:00:44 +02:00
SiboVG
88e343a30c Update unit tests 2022-06-25 01:26:05 +02:00
SiboVG
027ed2eaa6 [#1460] Exclude inactive stages in tbe simulation calculations 2022-06-25 00:55:31 +02:00
SiboVG
dd128c0ff0 Improve double to string rounding
The previous code was just a bit odd and non-standard + variable (and probably unefficient). Decided to replace it with standard Java functions instead.
2022-06-13 04:25:23 +02:00
SiboVG
92b7c5e6a9 Fix unit tests
The setRadius method is meant to set the total radius from the center of the parent, so not really like is implemented in the unit test...
2022-06-11 01:37:45 +02:00
SiboVG
1b9751562a [#1231] Split bounding box and length in aerodynamic and all
Some parts of the program need only the bounding box of aerodynamic parts (most parts of the program), but a couple others need the bounding box and length of all components
2022-06-08 22:14:19 +02:00
JoePfeiffer
6f0a6f4127 Refer to drag coefficient consistently as CD 2022-04-13 10:22:30 -06:00
Sibo Van Gool
ae1ccd8320 [fixes #825] Implement dummy unit test
Whoops, apparently you can't just comment out everything...
2022-01-28 01:22:16 +01:00
Sibo Van Gool
ca813caa45 [fixes #825] Comment out old update unit test
For now I'm just gonna comment this unit test out, I'm sorry. Implementing a unit test for the new system would cost me extra time and headaches...
2022-01-28 00:00:33 +01:00
Joe Pfeiffer
affcc8b51f
Merge pull request #869 from teyrana/fix/868/fin-tab-offset
[fixes #868] Fin tabs correctly adjust their location when the fin tab _length_ is changed.
2022-01-11 11:24:15 -07:00
JoePfeiffer
2e01115932 Create unit test for ellipsoidal nose cone pressure drag interpolation 2022-01-10 08:43:15 -07:00
Billy Olsen
f78b6326ee
Merge pull request #1049 from SiboVG/fix-typos
Fix typos in OR codebase
2021-12-27 11:54:55 -07:00
Robert Sammelson
3a28f3b585
Adjust unit tests
Fixes unit test errors by changing hardcoded values to the values the
new code outputs. The new code is believed to be correct so this should
be alright.
2021-11-04 14:13:25 -04:00
Sibo Van Gool
e3af87eee5 Fix typos in OR codebase 2021-10-17 18:03:18 +02:00
Joe Pfeiffer
185ce54ed0
Merge pull request #1015 from SiboVG/code_cleanup-1
[code_cleanup-1] Clean up using IntelliJ's 'Silent Code Cleanup'
2021-10-16 15:30:07 -06:00
JoePfeiffer
3d0396bc00 update unit tests to match new motor code (also fixed a couple bugs the
unittests turned up!)
2021-09-25 14:20:06 -06:00
Sibo Van Gool
08dc009412 [code_cleanup-1] Clean up using IntelliJ's 'Silent Code Cleanup' 2021-09-10 00:36:29 +02:00
Daniel_M_Williams
f481bb3707 [fix] adjusted the validation and update functions in 'FinSet' to better meet user's expectations 2021-08-15 09:20:54 -04:00
Daniel_M_Williams
ac96222964 [fixes #868] Fin tabs correctly adjust their location when the fin tab _length_ is changed. 2021-08-14 16:01:03 -04:00