Ttest and heteroscedasticity problem in no intercept model
You are generally better off asking statistics questions at cross validated, simply because there are more statisticians there. Also, you will get a better answer if you supply some more detail of what you want to test exactly, and what program you use if you want hints on where to read up on these things

I assume that you want to test whether two coefficients that you found in a linear regression are equal or different from another, where your regression model has no intercept. That is an example of a linear restriction. These kind of restrictions are generally tested with F-tests. You can read up on them a.o. here (which implements them in R).

How to implement them depends on your stats program.