(t *MathTree)
| 22 | func (s *mathTreeStack) empty() bool { return len(s.a) == 0 } |
| 23 | func (s *mathTreeStack) size() int { return len(s.a) } |
| 24 | func (s *mathTreeStack) push(t *MathTree) { s.a = append(s.a, t) } |
| 25 | |
| 26 | func (s *mathTreeStack) popAssert() *MathTree { |
| 27 | x.AssertTruef(!s.empty(), "Expected a non-empty stack") |
no outgoing calls
no test coverage detected