Skip to content

Commit

Permalink
Fix epsilon value in unit test to accomodate new tesselation settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mphe committed Jun 19, 2024
1 parent b90dc33 commit a22a449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_shape_open.gd
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func test_get_width_for_tessellated_point() -> void:
assert_ne(test_t_idx, t_idx_1)
assert_ne(test_t_idx, t_idx_2)
var test_width := shape._get_width_for_tessellated_point(points, test_t_idx)
assert_almost_eq(test_width, w_average, 0.1)
assert_almost_eq(test_width, w_average, 0.15)


func get_clockwise_points() -> PackedVector2Array:
Expand Down

0 comments on commit a22a449

Please sign in to comment.