if{[catch{spice::vectoblt raul ibrahim ector karim} erreur]!=0}{puts"ERROREXPECTED:TEST1OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST1ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable argument
if{[catch{spice::vectoblt raul ibrahim ector} erreur]!=0}{puts"ERROREXPECTED:TEST2OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST2ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable blt vector
if{[catch{spice::vectoblt Vd ibrahim} erreur]!=0}{puts"ERROREXPECTED:TEST3OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST3ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#real part affectation
if{[catch{spice::vectoblt Vd real} erreur]==0}{puts"NOERRORINAFFECTATION.TEST4OK:\n\t(Blankline)";set ok [expr{$ok+1}]}else{puts"TEST4ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable blt vector (2 vectors)
if{[catch{spice::vectoblt Vd ibrahim ector} erreur]!=0}{puts"ERROREXPECTED:TEST5OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST5ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable imaginary vector
if{[catch{spice::vectoblt Vd real ector} erreur]!=0}{puts"ERROREXPECTED:TEST6OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST6ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#real and imaginary part affectation
if{[catch{spice::vectoblt Vd real imag} erreur]==0}{puts"NOERRORINAFFECTATION.TEST7OK:\n\t(Blankline)";set ok [expr{$ok+1}]}else{puts"TEST7ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#all good vectors, but another argument invited himself
if{[catch{spice::vectoblt Vd real imag karim} erreur]!=0}{puts"ERROREXPECTED:TEST8OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST8ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
###################
puts"Vdisacomplexvectoroflength10"
###################
spice::op
spice::ac dec 101001000
spice::let Vd = V(5)- V(4)
#too many arguments
if{[catch{spice::vectoblt raul ibrahim ector karim} erreur]!=0}{puts"ERROREXPECTED:TEST1OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST1ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable argument
if{[catch{spice::vectoblt raul ibrahim ector} erreur]!=0}{puts"ERROREXPECTED:TEST2OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST2ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable blt vector
if{[catch{spice::vectoblt Vd ibrahim} erreur]!=0}{puts"ERROREXPECTED:TEST3OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST3ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#real part affectation
if{[catch{spice::vectoblt Vd real} erreur]==0}{puts"NOERRORINAFFECTATION.TEST4OK:\n\t(Blankline)";set ok [expr{$ok+1}]}else{puts"TEST4ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable blt vector (2 vectors)
if{[catch{spice::vectoblt Vd ibrahim ector} erreur]!=0}{puts"ERROREXPECTED:TEST5OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST5ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#no acceptable imaginary vector
if{[catch{spice::vectoblt Vd real ector} erreur]!=0}{puts"ERROREXPECTED:TEST6OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST6ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#real and imaginary part affectation
if{[catch{spice::vectoblt Vd real imag} erreur]==0}{puts"NOERRORINAFFECTATION.TEST7OK:\n\t(Blankline)";set ok [expr{$ok+1}]}else{puts"TEST7ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}
#all good vectors, but another argument invited himself
if{[catch{spice::vectoblt Vd real imag karim} erreur]!=0}{puts"ERROREXPECTED:TEST8OK:\n\t$erreur";set ok [expr{$ok+1}]}else{puts"TEST8ERROR\n\tTest1shouldreturnTCL_ERROR,butitdoesnot"}