参考所有分组:补 polar 和 NURBS source 覆盖,测试通过

This commit is contained in:
cnc
2026-06-03 09:27:04 +08:00
parent 611e6417b4
commit bbd5739e7a
7 changed files with 27 additions and 0 deletions

View File

@@ -621,6 +621,8 @@ polar_coordinate_error_cases=(
"linuxcnc_polar_with_x_error|Cannot specify both polar coordinate and X word"
"linuxcnc_polar_with_y_error|Cannot specify both polar coordinate and Y word"
"linuxcnc_polar_g92_error|Polar coordinates can only be used for motion"
"linuxcnc_polar_g28_error|Polar coordinates can only be used for motion"
"linuxcnc_polar_g30_error|Polar coordinates can only be used for motion"
"linuxcnc_polar_g53_error|Cannot use polar coordinates with G53"
"linuxcnc_polar_radius_origin_error|Must specify angle in polar coordinate if at the origin"
"linuxcnc_polar_incremental_radius_origin_error|Incremental motion with polar coordinates is indeterminate when at the origin"
@@ -971,9 +973,12 @@ nurbs_error_cases=(
"linuxcnc_g52_missing_y_control_point_error|You must specify both X and Y coordinates for Control Points"
"linuxcnc_g52_p_without_xy_after_start_error|Can specify P without X and Y only for the first control point"
"linuxcnc_g52_nonpositive_p_error|Must specify positive weight P for every Control Point"
"linuxcnc_g52_missing_subsequent_weight_error|Must specify positive weight P for every Control Point"
"linuxcnc_g52_noninteger_l_error|Non integer value for integer"
"linuxcnc_g52_zero_feed_error|Cannot make a NURBS with 0 feedrate"
"linuxcnc_g53_without_g52_error|Cannot use G5.3 without G5.2 first"
"linuxcnc_g53_short_control_points_error|You must specify a number of control points at least equal to the order L = 3"
"linuxcnc_g53_after_intervening_motion_error|Cannot use G5.3 without G5.2 first"
"linuxcnc_g62_missing_p_order_error|Program the nurbs order P in the first block of instruction"
"linuxcnc_g62_p_non_integer_error|nurbs order P number is not an integer"
"linuxcnc_g62_missing_q_mode_error|Program the nurbs Q value (1,2,3) in the first block of nurbs instruction"