Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/utilities/BooleanConditionProfileTest.java @ 16852:3c114b3e08c3
Truffle: renamed BooleanConditionProfile to BinaryConditionProfile and IntegerConditionProfile to CountingConditionProfile.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 18 Aug 2014 19:00:20 +0200 |
parents | 2834af86f398 |
children | fc6f12ee71e5 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/utilities/BooleanConditionProfileTest.java Mon Aug 18 18:41:16 2014 +0200 +++ b/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/utilities/BooleanConditionProfileTest.java Mon Aug 18 19:00:20 2014 +0200 @@ -38,14 +38,14 @@ @Test public void testInitial() { - BooleanConditionProfile profile = new BooleanConditionProfile(); + BinaryConditionProfile profile = new BinaryConditionProfile(); assertThat(profile.wasTrue(), is(false)); assertThat(profile.wasFalse(), is(false)); } @Theory public void testProfileOne(boolean value) { - BooleanConditionProfile profile = new BooleanConditionProfile(); + BinaryConditionProfile profile = new BinaryConditionProfile(); boolean result = profile.profile(value); assertThat(result, is(value)); @@ -55,7 +55,7 @@ @Theory public void testProfileTwo(boolean value0, boolean value1) { - BooleanConditionProfile profile = new BooleanConditionProfile(); + BinaryConditionProfile profile = new BinaryConditionProfile(); boolean result0 = profile.profile(value0); boolean result1 = profile.profile(value1); @@ -67,7 +67,7 @@ @Theory public void testProfileThree(boolean value0, boolean value1, boolean value2) { - BooleanConditionProfile profile = new BooleanConditionProfile(); + BinaryConditionProfile profile = new BinaryConditionProfile(); boolean result0 = profile.profile(value0); boolean result1 = profile.profile(value1); boolean result2 = profile.profile(value2);