Get rid of deprecated annotations and modifiers in stdlib (besides JS)

This commit is contained in:
Denis Zharkov
2015-09-14 16:35:30 +03:00
parent 9c4564a5a6
commit 5cecaa6f87
133 changed files with 1203 additions and 1085 deletions
@@ -4,31 +4,31 @@ import kotlin.test.*
import org.junit.Test as test
class BitwiseOperationsTest {
test fun orForInt() {
@test fun orForInt() {
assertEquals(3, 2 or 1)
}
test fun andForInt() {
@test fun andForInt() {
assertEquals(0, 1 and 0)
}
test fun xorForInt() {
@test fun xorForInt() {
assertEquals(1, 2 xor 3)
}
test fun shlForInt() {
@test fun shlForInt() {
assertEquals(4, 1 shl 2)
}
test fun shrForInt() {
@test fun shrForInt() {
assertEquals(1, 2 shr 1)
}
test fun ushrForInt() {
@test fun ushrForInt() {
assertEquals(2147483647, -1 ushr 1)
}
test fun invForInt() {
@test fun invForInt() {
assertEquals(0, (-1).inv())
}
}