Skip to content

Commit

Permalink
Fix acquisition test (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoerenm authored Dec 18, 2022
1 parent 9f2eb70 commit d8b132e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TrackingLoopFilters = "0814aff9-93cb-554c-9fff-9bf1cfdb5efa"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[compat]
Acquisition = "0.0.2, 0.0.4, 0.0.5, 0.1.0"
Acquisition = "0.1.0"
CUDA = "3.5"
DocStringExtensions = "0.6, 0.7, 0.8, 0.9"
GNSSSignals = "0.16"
Expand Down
2 changes: 1 addition & 1 deletion test/tracking_state.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
state = TrackingState(1, gpsl1, carrier_doppler, code_phase, num_ants = NumAnts(2))
@test @inferred(Tracking.get_correlator(state)) == EarlyPromptLateCorrelator(NumAnts(2))

acq = AcquisitionResults(GPSL1(), 5, 5e6Hz, 100.0Hz, 524.6, 45.0, randn(100,100), -500:100.0:500)
acq = AcquisitionResults(GPSL1(), 5, 5e6Hz, 100.0Hz, 524.6, 45.0, 1.0, randn(100,100), -500:100.0:500)
state = TrackingState(acq)
@test @inferred(Tracking.get_prn(state)) == 5
@test @inferred(Tracking.get_code_phase(state)) == 524.6
Expand Down

0 comments on commit d8b132e

Please sign in to comment.