Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Independent testing of toInteger() #135

Open
LittleBeannie opened this issue Mar 18, 2024 · 1 comment
Open

Independent testing of toInteger() #135

LittleBeannie opened this issue Mar 18, 2024 · 1 comment
Assignees
Labels

Comments

@LittleBeannie
Copy link
Collaborator

LittleBeannie commented Mar 18, 2024

Yi, please write your test plan here.

@zuoyi93
Copy link
Collaborator

zuoyi93 commented Apr 7, 2024

Input data type check

x with the wrong data type while providing reasonable values for other arguments

  • character string
  • numeric number

ratio with the wrong data type while providing reasonable values for other arguments

  • character string
  • negative integer
  • positive fraction number

roundUpFinal with wrong data type while providing reasonable values for other arguments

  • character string
  • numeric value

Output check

  • Survival design

Case 1: 2 interim analyses and 1 final analysis, efficacy only, ratio = 1
Case 2: 2 interim analyses and 1 final analysis, efficacy only, ratio = 2
Case 3: 2 interim analyses and 1 final analysis, efficacy only, ratio = 0
Case 4: 2 interim analyses and 1 final analysis, efficacy only, ratio = 1, roundUpFinal = FALSE
Case 5: 3 interim analyses and 1 final analysis, IA1 binding futility, efficacy elsewhere, ratio = 1
Case 6: 3 interim analyses and 1 final analysis, IA1 non-binding futility, efficacy elsewhere, ratio = 1

  • Binomial design

Case 1: 1 interim analysis and 1 final analysis, efficacy only, ratio = 1
Case 2: 2 interim analyses and 1 final analysis, efficacy only, ratio = 2
Case 3: 2 interim analyses and 1 final analysis, efficacy only, ratio = 2, roundUpFinal = FALSE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants