Skip to content

Commit

Permalink
actually fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanrdsch committed Nov 6, 2023
1 parent 6889d65 commit 0fb9d86
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/src/DataProcessor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const DATA_2 = Map<number, Data2>([
])
const DATA_3 = Map<number, Data2>([
[
2,
3,
[
[0, 0],
[1, 1],
Expand Down Expand Up @@ -106,10 +106,10 @@ test('it returns two datasets, normalized then averaged, if they are both select
).toEqual(
Map([
[0, 0],
[1, 0.5],
[1, 0.625],
[2, 0.375],
[3, 0.625],
[4, 0.75],
[4, 0.875],
])
)
})
Expand Down Expand Up @@ -161,10 +161,10 @@ test('it weights datasets when normalizing', () => {
).toEqual(
Map([
[0, 0],
[1, 0.75],
[2, 0.125],
[3, 0.625],
[4, 0.75],
[1, 0.8125],
[2, 0.3125],
[3, 0.5625],
[4, 0.8125],
])
)
})
Expand Down

0 comments on commit 0fb9d86

Please sign in to comment.