OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef SRC_SHARED_ASSERT_H_ | 5 #ifndef SRC_SHARED_ASSERT_H_ |
6 #define SRC_SHARED_ASSERT_H_ | 6 #define SRC_SHARED_ASSERT_H_ |
7 | 7 |
8 #ifdef TESTING | 8 #ifdef TESTING |
9 #include <sstream> | 9 #include <sstream> |
10 #include <string> | 10 #include <string> |
11 #endif | 11 #endif |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 (right)) | 226 (right)) |
227 | 227 |
228 #define EXPECT_GE(left, right) \ | 228 #define EXPECT_GE(left, right) \ |
229 fletch::DynamicAssertionHelper::GreaterEqual< \ | 229 fletch::DynamicAssertionHelper::GreaterEqual< \ |
230 fletch::DynamicAssertionHelper::EXPECT>(__FILE__, __LINE__, (left), \ | 230 fletch::DynamicAssertionHelper::EXPECT>(__FILE__, __LINE__, (left), \ |
231 (right)) | 231 (right)) |
232 | 232 |
233 #endif // if !defined(TESTING) | 233 #endif // if !defined(TESTING) |
234 | 234 |
235 #endif // SRC_SHARED_ASSERT_H_ | 235 #endif // SRC_SHARED_ASSERT_H_ |
OLD | NEW |