mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
add permutation unit tests (#7300)
* add permutation unit tests * update test * update * Update permutation.cpp fix macos build --------- Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e7382d6ff9
commit
6ba25b888b
2 changed files with 92 additions and 73 deletions
|
@ -38,6 +38,8 @@ public:
|
|||
bool check_invariant() const;
|
||||
};
|
||||
|
||||
void swap(unsigned i, unsigned j) noexcept;
|
||||
|
||||
inline std::ostream & operator<<(std::ostream & out, permutation const & p) {
|
||||
p.display(out);
|
||||
return out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue