Skip to content

Commit

Permalink
nucleotide-count uses xtest
Browse files Browse the repository at this point in the history
  • Loading branch information
keiravillekode committed Oct 11, 2024
1 parent a18349c commit 5a0ac7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions exercises/practice/nucleotide-count/nucleotide-count.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,23 @@ describe("count all nucleotides in a strand", () => {
expect(countNucleotides("")).toEqual([0, 0, 0, 0]);
});

test("can count one nucleotide in single-character input", () => {
xtest("can count one nucleotide in single-character input", () => {
expect(countNucleotides("G")).toEqual([0, 0, 1, 0]);
});

test("strand with repeated nucleotide", () => {
xtest("strand with repeated nucleotide", () => {
expect(countNucleotides("GGGGGGG")).toEqual([0, 0, 7, 0]);
});

test("strand with multiple nucleotides", () => {
xtest("strand with multiple nucleotides", () => {
expect(
countNucleotides(
"AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC"
)
).toEqual([20, 12, 17, 21]);
});

test("strand with invalid nucleotides", () => {
xtest("strand with invalid nucleotides", () => {
expect(countNucleotides("AGXXACT")).toEqual([-1, -1, -1, -1]);
});
});

0 comments on commit 5a0ac7c

Please sign in to comment.