preserves/implementations/javascript/test/values.test.ts

15 lines
354 B
TypeScript

import { Single, Double } from '../src/index';
import './test-utils';
describe('Single', () => {
it('should print reasonably', () => {
expect(Single(123.45).toString()).toEqual("123.45f");
});
});
describe('Double', () => {
it('should print reasonably', () => {
expect(Double(123.45).toString()).toEqual("123.45q");
});
});