| 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/test_case.h" | 6 #include "src/shared/test_case.h" |
| 7 #include "src/shared/utils.h" | 7 #include "src/shared/utils.h" |
| 8 | 8 |
| 9 namespace fletch { | 9 namespace fletch { |
| 10 | 10 |
| 11 TEST_CASE(Minimum) { | 11 TEST_CASE(Minimum) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 } | 70 } |
| 71 | 71 |
| 72 TEST_CASE(RoundUp) { | 72 TEST_CASE(RoundUp) { |
| 73 EXPECT_EQ(0, Utils::RoundUp(0, 0)); | 73 EXPECT_EQ(0, Utils::RoundUp(0, 0)); |
| 74 EXPECT_EQ(32, Utils::RoundUp(22, 32)); | 74 EXPECT_EQ(32, Utils::RoundUp(22, 32)); |
| 75 EXPECT_EQ(64, Utils::RoundUp(33, 32)); | 75 EXPECT_EQ(64, Utils::RoundUp(33, 32)); |
| 76 EXPECT_EQ(64, Utils::RoundUp(63, 32)); | 76 EXPECT_EQ(64, Utils::RoundUp(63, 32)); |
| 77 } | 77 } |
| 78 | 78 |
| 79 } // namespace fletch | 79 } // namespace fletch |
| OLD | NEW |