| 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 <stdio.h> | 5 #include <stdio.h> |
| 6 #include <stdlib.h> | 6 #include <stdlib.h> |
| 7 | 7 |
| 8 #include "src/shared/assert.h" | 8 #include "src/shared/assert.h" |
| 9 #include "src/shared/flags.h" | 9 #include "src/shared/flags.h" |
| 10 #include "src/shared/test_case.h" | 10 #include "src/shared/test_case.h" |
| 11 | 11 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 31 CheckValidSmi(Smi::kMaxPortableValue); | 31 CheckValidSmi(Smi::kMaxPortableValue); |
| 32 | 32 |
| 33 CheckInvalidSmi(Smi::kMinValue - 1); | 33 CheckInvalidSmi(Smi::kMinValue - 1); |
| 34 CheckInvalidSmi(Smi::kMaxValue + 1); | 34 CheckInvalidSmi(Smi::kMaxValue + 1); |
| 35 | 35 |
| 36 EXPECT(Smi::kMinValue <= Smi::kMinPortableValue); | 36 EXPECT(Smi::kMinValue <= Smi::kMinPortableValue); |
| 37 EXPECT(Smi::kMaxValue >= Smi::kMaxPortableValue); | 37 EXPECT(Smi::kMaxValue >= Smi::kMaxPortableValue); |
| 38 } | 38 } |
| 39 | 39 |
| 40 } // namespace fletch | 40 } // namespace fletch |
| OLD | NEW |