Go to the documentation of this file.00001
00009
00010
00011
00012
00013 #include <iostream>
00014 #include <gtest/gtest.h>
00015 #include "../../include/ecl/config/char_sign.hpp"
00016
00017
00018
00019
00020
00021
00022
00023
00024 TEST(TypeTests,fundamentals) {
00025 bool result = ecl::is_char_signed();
00026 if ( result ) {
00027 std::cout << "Char is signed." << std::endl;
00028 } else {
00029 std::cout << "Char is unsigned." << std::endl;
00030 }
00031 result = false;
00032 SUCCEED();
00033 }
00034
00035
00036
00037
00038
00039 int main(int argc, char **argv) {
00040 std::cout << "CHAR_MIN" << CHAR_MIN << std::endl;
00041 testing::InitGoogleTest(&argc,argv);
00042 return RUN_ALL_TESTS();
00043 }
00044
00045