import { calculateAspectRatio } from '../utils';

describe('calculateAspectRatio -- Test', () => {
  it.concurrent('Should return aspect ratio 1:1', () =>
    expect(calculateAspectRatio(400, 400)).toEqual('1:1'));
  it.concurrent('Should return aspect ratio 1:2', () =>
    expect(calculateAspectRatio(400, 800)).toEqual('1:2'));
});

describe('calculateGCD -- Test', () => {
  it.concurrent('Should return gcd', () =>
    expect(calculateAspectRatio(400, 400)).toEqual('1:1'));
});
