Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 3 years ago

Language

C++

Compiler

clang 14.0.0

Options
Warnings
Boost 1.78.0
C++2a
-pedantic

Author

anonymous

about 3 years ago

intlen.hpp

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.78.0-clang-14.0.0/include -std=c++2a -pedantic
Running 9 test cases...
prog.cc(67): error: in "intlen_result/_0": check x::hlpr::intlen(value) == expected has failed [0 != 1]
Failure occurred in a following context:
    value = 0; 
prog.cc(67): error: in "intlen_result/_1": check x::hlpr::intlen(value) == expected has failed [0 != 1]
Failure occurred in a following context:
    value = 1; 
prog.cc(67): error: in "intlen_result/_2": check x::hlpr::intlen(value) == expected has failed [1 != 2]
Failure occurred in a following context:
    value = -1; 
prog.cc(67): error: in "intlen_result/_3": check x::hlpr::intlen(value) == expected has failed [9 != 10]
Failure occurred in a following context:
    value = 2147483647; 
prog.cc(67): error: in "intlen_result/_4": check x::hlpr::intlen(value) == expected has failed [10 != 11]
Failure occurred in a following context:
    value = -2147483648; 
prog.cc(67): error: in "intlen_result/_5": check x::hlpr::intlen(value) == expected has failed [2 != 3]
Failure occurred in a following context:
    value = 123; 
prog.cc(67): error: in "intlen_result/_6": check x::hlpr::intlen(value) == expected has failed [3 != 4]
Failure occurred in a following context:
    value = -123; 
prog.cc(67): error: in "intlen_result/_7": check x::hlpr::intlen(value) == expected has failed [4 != 5]
Failure occurred in a following context:
    value = 12345; 
prog.cc(67): error: in "intlen_result/_8": check x::hlpr::intlen(value) == expected has failed [5 != 6]
Failure occurred in a following context:
    value = -12345; 

*** 9 failures are detected in the test module "intlen"
Exit Code:
201