tracks/php/exercises/nucleotide-count/README.md in trackler-2.2.1.103 vs tracks/php/exercises/nucleotide-count/README.md in trackler-2.2.1.104
- old
+ new
@@ -1,42 +1,34 @@
# Nucleotide Count
-Given a DNA string, compute how many times each nucleotide occurs in the string.
+Given a single stranded DNA string, compute how many times each nucleotide occurs in the string.
-DNA is represented by an alphabet of the following symbols: 'A', 'C',
-'G', and 'T'.
+The genetic language of every living thing on the planet is DNA.
+DNA is a large molecule that is built from an extremely long sequence of individual elements called nucleotides.
+4 types exist in DNA and these differ only slightly and can be represented as the following symbols: 'A' for adenine, 'C' for cytosine, 'G' for guanine, and 'T' thymine.
-Each symbol represents a nucleotide, which is a fancy name for the
-particular molecules that happen to make up a large part of DNA.
-
-Shortest intro to biochemistry EVAR:
-
+Here is an analogy:
- twigs are to birds nests as
-- nucleotides are to DNA and RNA as
-- amino acids are to proteins as
-- sugar is to starch as
-- oh crap lipids
+- nucleotides are to DNA as
+- legos are to lego houses as
+- words are to sentences as...
-I'm not going to talk about lipids because they're crazy complex.
-So back to nucleotides.
+## Running the tests
-DNA contains four types of them: adenine (`A`), cytosine (`C`), guanine
-(`G`), and thymine (`T`).
+1. Go to the root of your PHP exercise directory, which is `<EXERCISM_WORKSPACE>/php`.
+ To find the Exercism workspace run
-RNA contains a slightly different set of nucleotides, but we don't care
-about that for now.
+ % exercism debug | grep Workspace
-## Making the Test Suite Pass
+1. Get [PHPUnit] if you don't have it already.
-1. Get [PHPUnit].
-
% wget --no-check-certificate https://phar.phpunit.de/phpunit.phar
% chmod +x phpunit.phar
-2. Execute the tests for an assignment.
+2. Execute the tests:
- % phpunit.phar wordy/wordy_test.php
+ % ./phpunit.phar nucleotide-count/nucleotide-count_test.php
[PHPUnit]: http://phpunit.de
## Source