-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add permutation unit tests #7300
Conversation
/usr/bin/clang++ -D_EXTERNAL_RELEASE -D_MP_INTERNAL -I/home/vsts/work/1/s/build/src -I/home/vsts/work/1/s/src -Werror=odr -Werror=return-type -Werror=delete-non-virtual-dtor -Werror=overloaded-virtual -Werror=non-virtual-dtor -Werror=null-dereference -fcolor-diagnostics -O2 -g -DNDEBUG -std=gnu++17 -mfpmath=sse -msse -msse2 -Wall -MD -MT src/test/CMakeFiles/test-z3.dir/permutation.cpp.o -MF src/test/CMakeFiles/test-z3.dir/permutation.cpp.o.d -o src/test/CMakeFiles/test-z3.dir/permutation.cpp.o -c /home/vsts/work/1/s/src/test/permutation.cpp |
src/test/permutation.cpp
Outdated
/*++ | ||
Copyright (c) 2012 Microsoft Corporation | ||
#include <iostream> | ||
#include "permutation.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the include path should be "util/permutation.h"
I guess you need to include something for in permutation.cpp. The build on mac says: ../src/test/permutation.cpp:81:24: error: implicit instantiation of undefined template 'std::basic_ostringstream' |
The unit test fails |
The old unit test does not run at all.