Got plotting working

This commit is contained in:
rconnorjohnstone
2021-05-19 22:23:54 -06:00
parent 376f18556c
commit 2c39c34f01
11 changed files with 162 additions and 35 deletions

View File

@@ -1,19 +1,18 @@
@testset "Spacecraft Construction" begin
# Test that the standard spacecrafts can be created
craft = sc("test")
# Test that the standard spacecraft can be created
craft = Sc("test")
@test craft.mass == 1000.
@test craft.mass_flow_rate == 0.01
@test craft.max_thrust == 0.1
@test craft.num_thrusters == 2
@test craft.duty_cycle == 1.
craft = sc("no_thrust")
craft = Sc("no_thrust")
@test craft.mass == 1000.
@test craft.mass_flow_rate == 0.01
@test craft.max_thrust == 0.
@test craft.num_thrusters == 0
@test craft.duty_cycle == 0.
end