1
This commit is contained in:
@@ -3190,7 +3190,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn puzzle_point_incentive_uses_half_points_and_floor_claimable() {
|
||||
// 中文注释:累计单位是 half point,消耗 1 个光点只让作者获得 0.5 个待结算光点。
|
||||
// 中文注释:累计单位是 half point,消耗 1 个泥点只让作者获得 0.5 个待结算泥点。
|
||||
assert_eq!(puzzle_point_incentive_total_after_spend(0, 1), 1);
|
||||
assert_eq!(puzzle_point_incentive_claimable_points(1, 0), 0);
|
||||
assert_eq!(puzzle_point_incentive_claimable_points(2, 0), 1);
|
||||
|
||||
@@ -290,7 +290,7 @@ pub fn apply_puzzle_draft_field_patch(
|
||||
let levels = normalize_puzzle_levels(next_draft.levels.clone(), &next_draft.theme_tags)?;
|
||||
next_draft.levels = levels;
|
||||
sync_primary_level_fields(&mut next_draft);
|
||||
let _ = build_result_preview(&next_draft, Some("百梦主"));
|
||||
let _ = build_result_preview(&next_draft, Some("陶泥儿主"));
|
||||
Ok(next_draft)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user