Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/dracoenc/src/draco/core/status_test.cc
| Context not available. | |||||
| TEST_F(StatusTest, TestStatusOutput) { | TEST_F(StatusTest, TestStatusOutput) { | ||||
| // Tests that the Status can be stored in a provided std::ostream. | // Tests that the Status can be stored in a provided std::ostream. | ||||
| const draco::Status status(draco::Status::ERROR, "Error msg."); | const draco::Status status(draco::Status::DRACO_ERROR, "Error msg."); | ||||
| ASSERT_EQ(status.code(), draco::Status::ERROR); | ASSERT_EQ(status.code(), draco::Status::DRACO_ERROR); | ||||
| std::stringstream str; | std::stringstream str; | ||||
| str << status; | str << status; | ||||
| Context not available. | |||||