We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class TestJava {
public int x; public int[] a = new int[10]; //@ requires a.length == 10; public void m() { x = 2; a[0] = 4; a[2] = 6; a[3] = 7; mm(); //@ assert a[0] == 4; //@ assert a[3] == 7; //@ assert x == 3; } //@ requires a.length == 10; //@ assignable x, a[x]; //@ ensures x == 3; public void mm() { x = 3; } //@ requires a.length == 10; public void q() { x = 2; a[0] = 4; a[2] = 6; a[3] = 7; a[4] = 8; qq(); //@ assert a[0] == 4; //@ assert a[4] == 8; //@ assert x == 4; } //@ requires a.length == 10; //@ assignable x, a[x .. x+1]; //@ ensures x == 4; public void qq() { x = 4; }
}
The text was updated successfully, but these errors were encountered:
#575 - trial fix for testing
ef942e6
#575 - test
adb319b
#575 - completed and tested fix
6480bad
42c1cf0
No branches or pull requests
public class TestJava {
}
The text was updated successfully, but these errors were encountered: