The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

use Test::More tests => 4;
use Astro::Constants qw( :conversion );
is(ATOMIC_MASS_UNIT, 1.660_539_066_60e-27, 'ATOMIC_MASS_UNIT');
is(AVOGADRO, 6.022_140_76e23, 'AVOGADRO');
unlike(BOLTZMANN, qr/\d/, "Shouldn't import BOLTZMANN with :conversion");
unlike(MASS_ELECTRON, qr/\d/, "Shouldn't import MASS_ELECTRON with :conversion");