1 /* Function definitions that are used by multiple tests. */
3 void checkSfd (Sfd x
, double y
)
4 { if (x
.f
!= y
|| x
.d
!= y
+1) DEBUG_CHECK
}
5 void checkSfl (Sfl x
, double y
)
6 { if (x
.f
!= y
|| x
.l
!= y
+1) DEBUG_CHECK
}
7 void checkSdf (Sdf x
, double y
)
8 { if (x
.d
!= y
|| x
.f
!= y
+1) DEBUG_CHECK
}
9 void checkSdl (Sdl x
, double y
)
10 { if (x
.d
!= y
|| x
.l
!= y
+1) DEBUG_CHECK
}
11 void checkSlf (Slf x
, double y
)
12 { if (x
.l
!= y
|| x
.f
!= y
+1) DEBUG_CHECK
}
13 void checkSld (Sld x
, double y
)
14 { if (x
.l
!= y
|| x
.d
!= y
+1) DEBUG_CHECK
}
16 void checkSfdl (Sfdl x
, double y
)
17 { if (x
.f
!= y
|| x
.d
!= y
+1 || x
.l
!= y
+2) DEBUG_CHECK
}
18 void checkSfld (Sfld x
, double y
)
19 { if (x
.f
!= y
|| x
.l
!= y
+1 || x
.d
!= y
+2) DEBUG_CHECK
}
20 void checkSdfl (Sdfl x
, double y
)
21 { if (x
.d
!= y
|| x
.f
!= y
+1 || x
.l
!= y
+2) DEBUG_CHECK
}
22 void checkSdlf (Sdlf x
, double y
)
23 { if (x
.d
!= y
|| x
.l
!= y
+1 || x
.f
!= y
+2) DEBUG_CHECK
}
24 void checkSlfd (Slfd x
, double y
)
25 { if (x
.l
!= y
|| x
.f
!= y
+1 || x
.d
!= y
+2) DEBUG_CHECK
}
26 void checkSldf (Sldf x
, double y
)
27 { if (x
.l
!= y
|| x
.d
!= y
+1 || x
.f
!= y
+2) DEBUG_CHECK
}