Because they COULD test you at the conclusion of the court hearing, and arrest you if your nanogram level indicates recent marijuana use - it makes sense to stay clean until your court hearings and probation are over. THC, the active ingredient in marijuana, can stay in your fat cells for a month and be still detected by the test!
To best answer this question, I would need to know the reason you were stopped, and the reason for the search. In other words, I need to review the discovery in the case before making specific recommendations to you.
While it is possible that the court could test you for the presence of drugs at the next court date, it is very uncommon for this to happen in the Las Vegas, Nevada area if you have no prior criminal history. You will want a laywer to represent you in this case.
It is not clear from your question whether or not you have an attorney. If you don't yet have one, consult with one with a view towards hiriing one if you intend upon going to trial.
As for being forced to take a drug test, its unlikely unless and until you are convicted and if that happens then its mandatory.
This answer is not intended to form an attorney/client relationship and any answers do not constitute direct legal advice and should not be followed unless and until you have spoken with an attorney of your choice.