assert: .closeTo() verify value's type before assertion