In general, it would also be a stronger test if it fetched each decimal value back out and did some kind of sanity check on it.
There is an overload of assertEquals that allows you to specify an epsilon for an approximate match of floating point values.