mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
modified unit tests to not use floats for map keys, complex now uses boost_check_close for double types
This commit is contained in:
@@ -314,11 +314,13 @@ int main()
|
||||
int xxx[] = {-1, 95, 3};
|
||||
archive( xxx );
|
||||
|
||||
cereal::XMLOutputArchive archive2(std::cout, 10, true);
|
||||
cereal::XMLOutputArchive archive2(std::cout, 10);
|
||||
archive2( xxx );
|
||||
|
||||
std::vector<int> yyy = {1, 2, 3};
|
||||
archive2( yyy );
|
||||
|
||||
archive2.saveBinaryValue( xxx, sizeof(int)*3 );
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user