Running the test:
$ src/option/tests/compiz_option_test
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from CompOption
[ RUN ] CompOption.Value
/home/alan/Documents/programming/c++/compiz/compiz-core.vector-color-variant/src/option/tests/option.cpp:15: Failure
Value of: type
Actual: 4
Expected: v.type()
Which is: 0
[ FAILED ] CompOption.Value (1 ms)
[ RUN ] CompOption.Color
color: 25502550
Segmentation fault (core dumped)
Running the test: tests/compiz_ option_ test Documents/ programming/ c++/compiz/ compiz- core.vector- color-variant/ src/option/ tests/option. cpp:15: Failure
$ src/option/
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from CompOption
[ RUN ] CompOption.Value
/home/alan/
Value of: type
Actual: 4
Expected: v.type()
Which is: 0
[ FAILED ] CompOption.Value (1 ms)
[ RUN ] CompOption.Color
color: 25502550
Segmentation fault (core dumped)