Skip to content

Commit 234a8ba

Browse files
committed
don't test simplify_neuron2
1 parent a95bdce commit 234a8ba

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tests/testthat/test-neuron.R

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,9 @@ test_that("Simplify a neuron to n-branchpoints", {
287287
sample_branches=simplify_neuron(sample_neuron, n = 1, invert = F)
288288
expect_equal(length(branchpoints(sample_branches)),1)
289289

290-
sample_branches2=simplify_neuron2(sample_neuron, n = 2, invert = F)
290+
sample_branches2=simplify_neuron(sample_neuron, n = 2, invert = F)
291291
expect_equal(length(branchpoints(sample_branches2)),2)
292292

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-
298293
})
299294

300295
test_that("Stitch a neuron that has been fragmented", {

0 commit comments

Comments
 (0)