Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
elray1 committed Aug 15, 2024
1 parent 70a2a7c commit b8743c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/testthat/test-split_disc_cont_ps_qs.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ test_that(
ps <- seq(from = 0.1, to = 0.4, by = 0.1)
qs <- c(rep(1.0, 3), rep(2.0, 1))
expect_equal(
split_disc_cont_ps_qs(ps, qs),
list(
split_disc_cont_ps_qs(ps, qs),
list(
disc_weight = 1.0,
disc_ps = c(3 / 9, 6 / 9), disc_qs = c(1.0, 2.0),
cont_ps = numeric(), cont_qs = numeric(),
disc_ps_range = list(c(0.0, 3 / 9), c(3 / 9, 1.0))
)
)
)
}
)
Expand All @@ -98,13 +98,13 @@ test_that(
ps <- seq(from = 0.3, to = 0.9, by = 0.1)
qs <- c(rep(1.0, 1), rep(2.0, 6))
expect_equal(
split_disc_cont_ps_qs(ps, qs),
list(
split_disc_cont_ps_qs(ps, qs),
list(
disc_weight = 1.0,
disc_ps = c(3 / 9, 6 / 9), disc_qs = c(1.0, 2.0),
cont_ps = numeric(), cont_qs = numeric(),
disc_ps_range = list(c(0.0, 3 / 9), c(3 / 9, 1.0))
)
)
)
}
)
Expand Down

0 comments on commit b8743c8

Please sign in to comment.