def test_ordinal_floor_number(self, faker, num_samples):
    for _ in range(num_samples):
        floor_number = faker.ordinal_floor_number()
        assert (floor_number[(- 2):] in ['th', 'st', 'nd', 'rd'])
def test_ordinal_floor_number(self, faker, num_samples):
    for _ in range(num_samples):
        floor_number = faker.ordinal_floor_number()
        assert (floor_number[(- 2):] in ['th', 'st', 'nd', 'rd'])