(self, s)
| 102 | return str1 == str2 |
| 103 | |
| 104 | def remove_boxed(self, s): |
| 105 | if "\\boxed " in s: |
| 106 | left = "\\boxed " |
| 107 | assert s[: len(left)] == left |
| 108 | return s[len(left) :] |
| 109 | |
| 110 | left = "\\boxed{" |
| 111 | |
| 112 | assert s[: len(left)] == left |
| 113 | assert s[-1] == "}" |
| 114 | |
| 115 | return s[len(left) : -1] |
| 116 | |
| 117 | def last_boxed_only_string(self, string): |
| 118 |
no outgoing calls
no test coverage detected