+test_value (AccessibleValue *value)
+{
+ char *str;
+ float original_value;
+
+ /* Note: test_value assertions are known not to work as of Dec 09 */
+
+ fprintf (stderr, "Testing value ...\n");
+
+ original_value = AccessibleValue_getCurrentValue (value);
+
+ g_assert (AccessibleValue_getCurrentValue (value) <=
+ AccessibleValue_getMaximumValue (value));
+
+ g_assert (AccessibleValue_getCurrentValue (value) >=
+ AccessibleValue_getMinimumValue (value));
+
+ AccessibleValue_setCurrentValue (value,
+ AccessibleValue_getMinimumValue (value));
+
+ g_assert (AccessibleValue_getCurrentValue (value) ==
+ AccessibleValue_getMinimumValue (value));
+
+ AccessibleValue_setCurrentValue (value,
+ AccessibleValue_getMaximumValue (value));
+
+ g_assert (AccessibleValue_getCurrentValue (value) ==
+ AccessibleValue_getMaximumValue (value));
+
+ AccessibleValue_setCurrentValue (value, original_value);
+
+ g_assert (AccessibleValue_getCurrentValue (value) == original_value);
+}
+
+static void