We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a95bdce commit 234a8baCopy full SHA for 234a8ba
1 file changed
tests/testthat/test-neuron.R
@@ -287,14 +287,9 @@ test_that("Simplify a neuron to n-branchpoints", {
287
sample_branches=simplify_neuron(sample_neuron, n = 1, invert = F)
288
expect_equal(length(branchpoints(sample_branches)),1)
289
290
- sample_branches2=simplify_neuron2(sample_neuron, n = 2, invert = F)
+ sample_branches2=simplify_neuron(sample_neuron, n = 2, invert = F)
291
expect_equal(length(branchpoints(sample_branches2)),2)
292
293
- #test if both apis perform the same..
294
- sample_branches=simplify_neuron(sample_neuron,n = 2, invert = T)
295
- sample_branches2=simplify_neuron2(sample_neuron, n = 2, invert = T)
296
- expect_equal(sample_branches, sample_branches2)
297
-
298
})
299
300
test_that("Stitch a neuron that has been fragmented", {
0 commit comments