Let's say a teacher surprised his students by a quiz without informing them beforehand. Then, one of his students reacted and say:
(Student to student talk): The teacher hadn't informed us before the class started that we were going to have a quiz.
Is this correct? Can we use the tenses above? It sounds odd to me, due to the word "hadn't" itself, it's an uncommon usage in my case, particularly "didn't" is the verb tense I'm familiar with. So, to ascertain if my "hadn't" is grammatical, I am asking a helping hand to check it.