The only way your would know if it was broken would be to get an X-ray. If you have been walking on it and your symptoms are improving then its unlikely that you would have a break that would require anything other than a cast. I would encourage you to get into physiotherapy
as appropriate rehab is very important with ankle sprains. If it is a sprain then it is not unusual for these injuries to take more that 3 weeks to completely resolve.