This commit is contained in:
Zengtudor 2024-08-08 12:48:57 +08:00
parent 57cc7b6969
commit c4f42c06d0

View File

@ -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