This is a case of understatement. An understatement is a rhetorical device that gives an expression of lesser strength than what would be expected. Understatement is used for emphasis and irony. In this case, Hayley states that her test was "not bad." This is an understatement, as he score was 100%, which is in fact excellent.