Fix the OSDK CI failure

This commit is contained in:
Jianfeng Jiang
2024-06-21 05:51:13 +00:00
committed by Tate, Hongliang Tian
parent fe7251c413
commit 3de8a9330a
40 changed files with 260 additions and 189 deletions

View File

@ -12,6 +12,5 @@ typeflags-util = { path = "../typeflags-util" }
aster-rights-proc = { path = "../aster-rights-proc" }
aster-rights = { path = "../aster-rights" }
inherit-methods-macro = { git = "https://github.com/asterinas/inherit-methods-macro", rev = "98f7e3e" }
ktest = { path = "../../../ostd/libs/ktest" }
[features]

View File

@ -127,9 +127,10 @@ impl Mul<u32> for Coeff {
#[cfg(ktest)]
mod test {
use ktest::ktest;
use ostd::prelude::*;
use super::*;
#[ktest]
fn calculation() {
let coeff = Coeff::new(23456, 56789, 1_000_000_000);