LCOV - code coverage report
Current view: top level - blClone/src - Color.cpp (source / functions) Hit Total Coverage
Test: report.info Lines: 10 13 76.9 %
Date: 2014-06-08 Functions: 3 4 75.0 %

          Line data    Source code
       1             : #include "Color.h"
       2             : 
       3           5 : Color::Color() {
       4             :         // Set to white, initially.
       5           5 :         set(1.0, 1.0, 1.0);
       6           5 : }
       7             : 
       8           0 : Color::Color(float r, float g, float b) {
       9             :         // Set to given color on construction
      10           0 :         set(r, g, b);
      11           0 : }
      12             : 
      13           5 : Color::~Color() {
      14           5 : }
      15             : 
      16          10 : void Color::set(float r, float g, float b) {
      17          10 :         red_ = r;
      18          10 :         green_ = g;
      19          10 :         blue_ = b;
      20          10 : }

Generated by: LCOV version 1.9