diff --git a/tests/t101-vector.c b/tests/t101-vector.c index 3653a06fff..3b4ac917a5 100644 --- a/tests/t101-vector.c +++ b/tests/t101-vector.c @@ -15,7 +15,7 @@ static int CheckValues(Ceed ceed, CeedVector x, CeedScalar value) { CeedVectorGetLength(x, &len); CeedVectorGetArrayRead(x, CEED_MEM_HOST, &read_array); for (CeedInt i = 0; i < len; i++) { - if (read_array[i] != value) printf("Error reading array[%" CeedInt_FMT "] = %f", i, (CeedScalar)read_array[i]); + if (read_array[i] != value) printf("Error reading array[%" CeedInt_FMT "] = %f != %f\n", i, (CeedScalar)read_array[i], value); } CeedVectorRestoreArrayRead(x, &read_array); return 0; diff --git a/tests/t525-operator.c b/tests/t525-operator.c index bed1365a77..6924e000e1 100644 --- a/tests/t525-operator.c +++ b/tests/t525-operator.c @@ -88,7 +88,7 @@ int main(int argc, char **argv) { CeedOperatorGetContextDoubleRead(op_composite, time_label, &num_values, &values); if (num_values != 1) printf("Incorrect number of time values, found %zu but expected 1", num_values); - if (values[0] != ctx_data_2.time) printf("Incorrect value found, found %f but expected %f", values[0], ctx_data_2.time); + if (values[0] != ctx_data_2.time) printf("Incorrect value found, found %f but expected %f\n", values[0], ctx_data_2.time); CeedOperatorRestoreContextDoubleRead(op_composite, time_label, &values); }