As discussed with @mhoemmen. These tests will expose whether we've accidentally made invalid assumptions about datatypes in the code, like assuming a value can be initialized to 0.
Yes, technically Tropical t = 0 makes mathematical sense, but I'll be sure not to define Tropical::operator=(int) or Tropical::Tropical(int).
As discussed with @mhoemmen. These tests will expose whether we've accidentally made invalid assumptions about datatypes in the code, like assuming a value can be initialized to 0.
Yes, technically
Tropical t = 0makes mathematical sense, but I'll be sure not to defineTropical::operator=(int)orTropical::Tropical(int).