Add more test cases for molecules-cells

This commit is contained in:
Clément 2022-04-15 13:01:23 +01:00 committed by GitHub
parent eb2579a9e9
commit d780d26483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -4,9 +4,11 @@ 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'))
t(({ eq }) => eq(DNA(''), ''))
t(({ eq }) => eq(DNA('AUCG'), 'TAGC'))
t(({ eq }) => eq(DNA(RNA('TAGC')), 'TAGC'))
t(({ eq }) => eq(DNA(RNA('GCAT')), 'GCAT'))
Object.freeze(tests)