Skip to content

Commit

Permalink
indice wrong in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeEfstathiadis committed Nov 7, 2023
1 parent 6be2dba commit 4eb2df4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions forest/oak/tests/test_run_hourly.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def test_run_hourly_accuracy(test_input):

steps_hourly, cadence_hourly, walkingtime_hourly = test_input[3:]

indice = np.where(~np.isnan(steps_hourly))[0]

# get non-nan indices
assert steps_hourly[32][0] == 16
assert cadence_hourly[32][0] == 1.6
assert walkingtime_hourly[32][0] == 10
assert steps_hourly[indice][0] == 16
assert cadence_hourly[indice][0] == 1.6
assert walkingtime_hourly[indice][0] == 10

0 comments on commit 4eb2df4

Please sign in to comment.