Class: "Card"
Function: "is_higher_trumpf_than(self, other)"
Current
The function tries to apply the '>' operator on the internal dictionary trumpf_rank of the two cards instead of comparing their actual trumpf value retrieved by get_trumpf_rank. This results in a type error when calling the function.
Expected
The function returns a boolean value of 'TRUE' when the card specified as parameter for comparison has a lower trumpf rank value.
Class: "Card"
Function: "is_higher_trumpf_than(self, other)"
Current
The function tries to apply the '>' operator on the internal dictionary trumpf_rank of the two cards instead of comparing their actual trumpf value retrieved by get_trumpf_rank. This results in a type error when calling the function.
Expected
The function returns a boolean value of 'TRUE' when the card specified as parameter for comparison has a lower trumpf rank value.