update
This commit is contained in:
parent
57cc7b6969
commit
c4f42c06d0
@ -27,9 +27,9 @@ signed main(){
|
||||
#endif
|
||||
|
||||
#ifdef ISTEST
|
||||
#define assertr(e){if(!(e)){cerr<<"error on "<<#e<<" :"<<(e)<<endl;return -1;}}
|
||||
#define assertr(e){if(!(e)){cerr<<"error on "<<#e<<" :"<<"False"<<endl;return -1;}else{cout<<#e<<" Passed OK!";}}
|
||||
|
||||
int main(){
|
||||
assertr(binExp(2, 10, 9)==6);
|
||||
assertr(binExp(2, 10, 9)==7);
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user