Ad
  • Custom User Avatar

    The [unsupported type] thing is a problem with the C++ testing framework. You can fix the messages by adding operator << to your class:

    std::ostream& operator<<(std::ostream& os, const Add& add) {
      return os << add.get_n();
    }
    

    As to why it returns wrong result, I do not know yet.