Files
mediapipe/mediapipe/framework/deps/status_matchers.h
T
MediaPipe Teamandjqtang 61bc4556af Project import generated by Copybara.
GitOrigin-RevId: 1138530ad1578c5d6615b3e3d041775c75d310c4
2019-09-11 14:29:38 -07:00

25 lines
927 B
C

// Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef MEDIAPIPE_DEPS_STATUS_MATCHERS_H_
#define MEDIAPIPE_DEPS_STATUS_MATCHERS_H_
#include "gtest/gtest.h"
#include "mediapipe/framework/deps/status.h"
#define MP_EXPECT_OK(statement) EXPECT_TRUE((statement).ok())
#define MP_ASSERT_OK(statement) ASSERT_TRUE((statement).ok())
#endif // MEDIAPIPE_DEPS_STATUS_MATCHERS_H_