15 lines
361 B
TypeScript
15 lines
361 B
TypeScript
import { Single, Double } from '../src/index';
|
|
import './test-utils';
|
|
|
|
describe('Single', () => {
|
|
it('should print reasonably', () => {
|
|
expect(new Single(123.45).toString()).toEqual("123.45f");
|
|
});
|
|
});
|
|
|
|
describe('Double', () => {
|
|
it('should print reasonably', () => {
|
|
expect(new Double(123.45).toString()).toEqual("123.45");
|
|
});
|
|
});
|