Skip to content

Commit

Permalink
Adjusted unit tests to keep up with imcRtools changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nilseling committed Nov 1, 2023
1 parent 6cef56e commit cb3e2fa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 04-read_data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,7 @@ expect_equal(colPair(spe)[1:5,], new("SelfHits", from = c(1L, 1L, 2L, 2L, 2L), t
expect_equal(spatialCoords(spe)[1:5,], structure(c(468.583333333333, 515.833333333333, 587.235294117647,
192.25, 231.772727272727, 0.416666666666667, 0.416666666666667,
0.470588235294118, 1.25, 0.909090909090909), dim = c(5L, 2L), dimnames = list(
c("1", "2", "3", "4", "5"), c("Pos_X", "Pos_Y"))))
0.470588235294118, 1.25, 0.909090909090909), dim = c(5L, 2L), dimnames = list(NULL, c("Pos_X", "Pos_Y"))))
```

```{r integration-test-read-images, include = FALSE}
Expand Down Expand Up @@ -669,8 +668,7 @@ expect_equal(colPair(spe2)[1:5,], new("SelfHits", from = c(1L, 1L, 1L, 1L, 1L),
expect_equal(spatialCoords(spe2)[1:5,], structure(c(10.2295081967213, 18.7, 25.4074074074074, 32.2708333333333,
45.0294117647059, 2.62295081967213, 2, 1.81481481481481, 2.22916666666667,
1.5), dim = c(5L, 2L), dimnames = list(c("1", "2", "3", "4",
"5"), c("Pos_X", "Pos_Y"))))
1.5), dim = c(5L, 2L), dimnames = list(NULL, c("Pos_X", "Pos_Y"))))
```

```{r integration-test-measureObjects, include = FALSE}
Expand Down

0 comments on commit cb3e2fa

Please sign in to comment.