Well it’s not the best idea, even if you felt fine. This is because your body needs the molecules in foods to have the energy to function- so even if you felt fine it can cause issues like less focus and tiredness. It’s fine if youre in a rush every once in a while maybe or if you ate something later like during morning break but generally I wouldn’t recommend it.