LCOV - code coverage report
Current view: top level - blClone/src - Util.cpp (source / functions) Hit Total Coverage
Test: report.info Lines: 3 3 100.0 %
Date: 2014-06-08 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include <stdlib.h>
       2             : 
       3             : #include "Util.h"
       4             : 
       5             : namespace Util {
       6             : 
       7             :         // Generate a random number between min and max values.
       8          45 :         float randomInRange(float min, float max) {
       9             : 
      10             :                 float value;
      11             : 
      12          45 :                 value = min + drand48() * (max-min);
      13             : 
      14          45 :                 return value;
      15             :         }
      16             : }

Generated by: LCOV version 1.9