328 Commits

Author SHA1 Message Date
SiboVG
c59660e4ac Add unit tests for pods bounding box 2022-11-24 17:16:00 +01:00
Sibo Van Gool
ab50573f71
Merge pull request #1843 from SiboVG/issue-1842
[#1842] More general string conversion to double for fin editor table
2022-11-18 19:08:46 +01:00
SiboVG
91332baafa [#1842] More general string conversion to double for fin editor table 2022-11-17 12:43:24 +01:00
JoePfeiffer
a04fc455e9 Update unit tests for modified continuity check
Also, make testIsContinuous public in AerodynamicCalcutor, primarily for the benefit of unit tests.
2022-11-16 09:57:17 -07:00
SiboVG
4691bb2ae3 Merge branch 'unstable' into issue-1791 2022-11-10 00:40:20 +01:00
JoePfeiffer
d0a15f2a0f Change peak thrust of G77 simulation motor so Falcon9H test rocket doesn't tumble until well after stage separations
Put order of expected events to match the new test rocket
2022-11-09 16:07:12 -07:00
SiboVG
16354971a4 Update unit tests 2022-11-09 05:32:05 +01:00
SiboVG
6d80378a3f Add unit tests for overriddenBy 2022-11-09 04:49:55 +01:00
Sibo Van Gool
b1777bb36b
Merge pull request #1753 from SiboVG/issue-1621
Write unit tests for flight events
2022-11-08 21:41:10 +01:00
SiboVG
8cbe1e791c Add unit test for getMass vs getSectionMass 2022-11-07 10:37:55 +01:00
SiboVG
b104ca2ab1 Add unit test for RockSim pod exporting 2022-11-06 23:45:01 +01:00
SiboVG
afbd989249 Add unit tests for RockSim pod importing 2022-11-04 22:27:52 +01:00
SiboVG
b074503a1e Merge branch 'unstable' into issue-1348
# Conflicts:
#	core/test/net/sf/openrocket/file/rocksim/importt/RockSimLoaderTest.java
2022-11-04 21:46:53 +01:00
SiboVG
9eb9ee2ff1 Fix unit tests for rocket that contains pods 2022-11-04 17:51:25 +01:00
SiboVG
ad937b968d Merge branch 'unstable' into issue-106
# Conflicts:
#	core/test/net/sf/openrocket/file/rocksim/importt/RockSimLoaderTest.java
2022-11-04 01:02:49 +01:00
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