Add BitGenerator tests. Restructure tests.
[genetic.git] / src / generator / bitGenerator.h
similarity index 92%
rename from src/generator/bit.h
rename to src/generator/bitGenerator.h
index 7bd50073a412fbee8c6b145e96f271301b727a64..8e92521a608e7c553f1689600dd0d622f1828232 100644 (file)
@@ -18,7 +18,7 @@ namespace genetic {
          * Generator for generating entire Generation of Chromosomes (individuals)
          */
         template < typename _Chromosome >
-        class Bit : public Generator<_Chromosome> {
+        class BitGenerator : public Generator<_Chromosome> {
         public:
             /**
              * Type representing Chromosome Gene
@@ -52,7 +52,7 @@ namespace genetic {
              * @param generationSize Indicates size of the generation
              * @param chromosomeSize Indicates size of the chromosome
              */
-            Bit(unsigned int generationSize, unsigned int chromosomeSize)
+            BitGenerator(unsigned int generationSize, unsigned int chromosomeSize)
                 : Generator<_Chromosome>(generationSize, chromosomeSize) {
             }
         };