def test_good_boids_initialization():
    boids_positions = Boids(configuration_file).positions
    boids_velocities = Boids(configuration_file).velocities
    assert_equal(configuration_file_data['birds_number'], len(boids_positions[0]))
    assert_equal(configuration_file_data['birds_number'], Boids(configuration_file).birds_num)
    for boid in range(Boids(configuration_file).birds_num):
        assert_less(boids_positions[0][boid], configuration_file_data['position_upper_limits'][0])
        assert_greater(boids_positions[0][boid], configuration_file_data['position_lower_limits'][0])
        assert_less(boids_positions[1][boid], configuration_file_data['position_upper_limits'][1])
        assert_greater(boids_positions[1][boid], configuration_file_data['position_lower_limits'][1])
        assert_less(boids_velocities[0][boid], configuration_file_data['velocity_upper_limits'][0])
        assert_greater(boids_velocities[0][boid], configuration_file_data['velocity_lower_limits'][0])
        assert_less(boids_velocities[1][boid], configuration_file_data['velocity_upper_limits'][1])
        assert_greater(boids_velocities[1][boid], configuration_file_data['velocity_lower_limits'][1])
def test_good_boids_initialization():
    boids_positions = Boids(configuration_file).positions
    boids_velocities = Boids(configuration_file).velocities
    assert_equal(configuration_file_data['birds_number'], len(boids_positions[0]))
    assert_equal(configuration_file_data['birds_number'], Boids(configuration_file).birds_num)
    for boid in range(Boids(configuration_file).birds_num):
        assert_less(boids_positions[0][boid], configuration_file_data['position_upper_limits'][0])
        assert_greater(boids_positions[0][boid], configuration_file_data['position_lower_limits'][0])
        assert_less(boids_positions[1][boid], configuration_file_data['position_upper_limits'][1])
        assert_greater(boids_positions[1][boid], configuration_file_data['position_lower_limits'][1])
        assert_less(boids_velocities[0][boid], configuration_file_data['velocity_upper_limits'][0])
        assert_greater(boids_velocities[0][boid], configuration_file_data['velocity_lower_limits'][0])
        assert_less(boids_velocities[1][boid], configuration_file_data['velocity_upper_limits'][1])
        assert_greater(boids_velocities[1][boid], configuration_file_data['velocity_lower_limits'][1])