| 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 #include "src/shared/assert.h" | 5 #include "src/shared/assert.h" |
| 6 #include "src/shared/globals.h" | 6 #include "src/shared/globals.h" |
| 7 #include "src/shared/test_case.h" | 7 #include "src/shared/test_case.h" |
| 8 | 8 |
| 9 namespace fletch { | 9 namespace fletch { |
| 10 | 10 |
| 11 TEST_CASE(TypeSizes) { | 11 TEST_CASE(TypeSizes) { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 36 EXPECT_EQ(1U, ARRAY_SIZE(c1)); | 36 EXPECT_EQ(1U, ARRAY_SIZE(c1)); |
| 37 static char c2[] = {1, 2}; | 37 static char c2[] = {1, 2}; |
| 38 EXPECT_EQ(2U, ARRAY_SIZE(c2)); | 38 EXPECT_EQ(2U, ARRAY_SIZE(c2)); |
| 39 static char c3[3] = { | 39 static char c3[3] = { |
| 40 0, | 40 0, |
| 41 }; | 41 }; |
| 42 EXPECT_EQ(3U, ARRAY_SIZE(c3)); | 42 EXPECT_EQ(3U, ARRAY_SIZE(c3)); |
| 43 } | 43 } |
| 44 | 44 |
| 45 } // namespace fletch | 45 } // namespace fletch |
| OLD | NEW |