Shows how to use xtd::tunit::collection_assert class.
#include <xtd/xtd.tunit>
using namespace std;
namespace unit_tests {
class test_class_(test) {
public:
collection_assert::is_empty(vector<int> {});
}
collection_assert::is_empty(vector<int> {1, 2, 3});
}
collection_assert::is_ordered(vector<int> {1, 3, 2});
}
};
}
auto main()->int {
}