"Indeed, in that"—meaning in the affair of the people of Noah and their drowning—"are signs" for those who come after them. "And indeed, We were testing [them]"—meaning, by what the Messengers were sent with regarding His worship. The meaning of 'al-ibtila' (testing) is trial (al-ikhtibar).
Surah Al-Mu'minun from (verse 31 to verse 41).
﴿إِن فِي ذَلِك﴾ فِي أَمْرِ قَوْمِ نَوحٍ وَغَرَقِهِمْ ﴿لآيَات﴾ لِمَنْ بَعْدَهُمْ. ﴿وَإِنْ كُنَّا لَمُبْتَلِينَ﴾ يَعْنِي: مَا أَرْسِلَ بِهِ الرُّسُلَ مِنْ عِبَادَتِهِ، وَمَعْنَى الِابْتِلَاءِ: الِاخْتِبَارُ.
سُورَة الْمُؤْمِنُونَ من (آيَة ٣١ آيَة ٤١).