// Copyright 2017-2022 @polkadot/util-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 import { randomAsNumber } from '.'; describe('randomAsNumber', (): void => { it('generates subsequent non-matching numbers', (): void => { expect( randomAsNumber() ).not.toEqual( randomAsNumber() ); }); });