import { floatToCents } from 'web-client/helpers/float-to-cents';
import { module, test } from 'qunit';

module('Unit | Helper | float-to-cents');

test('convert floating number to just cents portion', function(assert) {
  let result = floatToCents(55.4);
  assert.equal(result, '40', 'correctly floats to cents');
});
