Skip to content

Commit

Permalink
* updates tests
Browse files Browse the repository at this point in the history
  • Loading branch information
o-murphy committed Oct 12, 2023
1 parent 3f39370 commit 6eec6a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion py_ballisticcalc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__copyright__ = ("",)

__credits__ = ["o-murphy"]
__version__ = "1.1.0b7"
__version__ = "1.1.0b7-post1"

from .drag_model import * # pylint: disable=import-error
from .drag_tables import *
Expand Down
4 changes: 2 additions & 2 deletions tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_path_g1(self):
shot_info = Shot(1000, 100, sight_angle=Angular(0.001228, Angular.Radian))
wind = [Wind(Velocity(5, Velocity.MPH), Angular(10.5, Angular.OClock))]
calc = TrajectoryCalc(ammo)
data = calc.trajectory(weapon, atmosphere, shot_info, wind)
data = calc.trajectory(weapon, atmosphere, shot_info, wind, TrajFlag.RANGE.value)

self.custom_assert_equal(len(data), 11, 0.1, "Length")

Expand All @@ -197,7 +197,7 @@ def test_path_g7(self):
wind = [Wind(Velocity(5, Velocity.MPH), -45)]

calc = TrajectoryCalc(ammo)
data = calc.trajectory(weapon, atmosphere, shot_info, wind)
data = calc.trajectory(weapon, atmosphere, shot_info, wind, TrajFlag.RANGE.value)

self.custom_assert_equal(len(data), 11, 0.1, "Length")

Expand Down

0 comments on commit 6eec6a4

Please sign in to comment.