I'd be surprised if it would not. I imagine that calculations for a triangle and a square are straightforward in at least two cases
1. The axis of the triangle coincides with the midside-midside axis of the square,
2. The axis of the triangle coincides with the diagonal of the square.
Are the areas different in the two cases?
Or do you have a clever insight?