You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use rstest::rstest;#[rstest]#[case(0,0)]#[case(1,1)]#[case(2,1)]#[case(3,2)]#[case(4,3)]fnfibonacci_test(#[case]input:u32,#[case]expected:u32){assert_eq!(expected, fibonacci(input))}
каждый case будет пораждать функцию
в случае picotest ведет счетчик тестов и не будет учитывать тесты которые породил case
The text was updated successfully, but these errors were encountered:
каждый case будет пораждать функцию
в случае picotest ведет счетчик тестов и не будет учитывать тесты которые породил case
The text was updated successfully, but these errors were encountered: