out<<YAML::Literal<<"literal scalar\nthat may span\nmany, many\nlines and have \"whatever\" crazy\tsymbols that we like";
out<<YAML::Literal<<"literal scalar\nthat may span\nmany, many\nlines "
"and have \"whatever\" crazy\tsymbols that we like";
out<<YAML::EndSeq;
desiredOutput="- simple scalar\n- 'explicit single-quoted scalar'\n- \"explicit double-quoted scalar\"\n- \"auto-detected\\ndouble-quoted scalar\"\n- a non-\"auto-detected\" double-quoted scalar\n- |\n literal scalar\n that may span\n many, many\n lines and have \"whatever\" crazy\tsymbols that we like";
out<<YAML::Binary(reinterpret_cast<constunsignedchar*>("Man is distinguished, not only by his reason, but by this singular passion from other animals, which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable generation of knowledge, exceeds the short vehemence of any carnal pleasure.\n"),270);
YAML_ASSERT(node[1].as<YAML::Binary>()==YAML::Binary(reinterpret_cast<constunsignedchar*>("Man is distinguished, not only by his reason, but by this singular passion from other animals, which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable generation of knowledge, exceeds the short vehemence of any carnal pleasure.\n"),270));
YAML_ASSERT(doc.as<std::string>()=="Fun with \x5C\x22\x07\x08\x1B\x0C\x0A\x0D\x09\x0B "+std::string("\x00",1)+" \x20\xA0\x85\xe2\x80\xa8\xe2\x80\xa9 A A A");
YAML_ASSERT(doc.as<std::string>()==
"Fun with \x5C\x22\x07\x08\x1B\x0C\x0A\x0D\x09\x0B "+