They are way too small,  I can't imagine  wearing this shorts to the gym and feel comfortable.  I am a size 0 so I ordered the XS, you can see the  fold on the rear.  They  may be worn as  undies but  the fabric is  not intended  for this either.  Unless you want to show more than what's intended and don't care about a little rear, don't  get this.