You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
395 B

5 years ago
export const tests = []
const t = (f) => tests.push(f)
t(({ eq }) => eq(RNA(''), ''))
t(({ eq }) => eq(RNA('TAGC'), 'AUCG'))
t(({ eq }) => eq(RNA(DNA('AUCG')), 'AUCG'))
t(({ eq }) => eq(RNA(DNA('CAUG')), 'CAUG'))
5 years ago
t(({ eq }) => eq(DNA(''), ''))
t(({ eq }) => eq(DNA('AUCG'), 'TAGC'))
t(({ eq }) => eq(DNA(RNA('TAGC')), 'TAGC'))
t(({ eq }) => eq(DNA(RNA('GCAT')), 'GCAT'))
5 years ago
Object.freeze(tests)