You're on a hike, you find an unknown mineral. How would you test it to find out what it is?

It can be these:
A) Igneous
B) Crystal