Add comprehensive tests for image processing and mask functionalities
- Introduced tests for color image handling, ensuring source preservation and premultiplied alpha usage. - Implemented tests for brush stroke operations, validating segment boundaries and brush anti-aliasing. - Added tests for frame anti-aliasing, confirming correct rendering behavior with various alpha values and depth settings. - Created tests for frame projection, ensuring accurate overlap calculations and half-plane clipping. - Developed tests for image premultiplied retention, verifying behavior during loading and packing processes. - Added undo functionality tests for mask operations, ensuring single transaction behavior during edits.
This commit is contained in:
@@ -77,12 +77,10 @@ class ExtensionPackagingTest(unittest.TestCase):
|
||||
"operators/convert_to_plane/object.py",
|
||||
"operators/convert_to_plane/conversion.py",
|
||||
"operators/convert_to_plane/mesh_plane.py",
|
||||
"operators/crop_tool/__init__.py",
|
||||
"operators/crop_tool/selection.py",
|
||||
"operators/crop_tool/box.py",
|
||||
"operators/crop_tool/lasso.py",
|
||||
"operators/crop_tool/polyline.py",
|
||||
"operators/crop_tool/perspective.py",
|
||||
"operators/image_edit_tool/__init__.py",
|
||||
"operators/image_edit_tool/frame.py",
|
||||
"operators/image_edit_tool/mask.py",
|
||||
"operators/image_edit_tool/rectify.py",
|
||||
"operators/ai_setup.py",
|
||||
"operators/remove_background.py",
|
||||
):
|
||||
@@ -102,8 +100,6 @@ class ExtensionPackagingTest(unittest.TestCase):
|
||||
self.assertIn("server/geometry/projection.py", names)
|
||||
self.assertIn("server/models/geometry.py", names)
|
||||
self.assertIn("server/jobs/remove_background.py", names)
|
||||
self.assertIn("server/jobs/refine_image_selection.py", names)
|
||||
self.assertIn("server/selection/refine_selection.py", names)
|
||||
self.assertIn("server/jobs/cutout.py", names)
|
||||
self.assertIn("server/jobs/depth_plane.py", names)
|
||||
self.assertIn("server/geometry/depth_texture.py", names)
|
||||
|
||||
Reference in New Issue
Block a user