Skip to content

Commit

Permalink
Fix tests for face culling option.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 361677269
  • Loading branch information
podlipensky authored and Copybara-Service committed Mar 8, 2021
1 parent c7bb5fc commit 6b2d59d
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -43,11 +43,11 @@ def _create_placeholders(self, shapes, dtypes):
@parameterized.parameters((
((2, 7, 3), (5, 3), (2, 4, 4)),
(tf.float32, tf.int32, tf.float32),
(True,),
True,
), (
((2, 7, 3), (5, 3), (2, 4, 4)),
(tf.float32, tf.int32, tf.float32),
(False,),
False,
))
def test_rasterizer_rasterize_exception_not_raised(self, shapes, dtypes,
enable_cull_face):
Expand All @@ -64,11 +64,11 @@ def test_rasterizer_rasterize_exception_not_raised(self, shapes, dtypes,
@parameterized.parameters((
((1, 7, 3), (5, 3), (1, 4, 4)),
(tf.float32, tf.int32, tf.float32),
(True,),
True,
), (
((1, 7, 3), (5, 3), (1, 4, 4)),
(tf.float32, tf.int32, tf.float32),
(False,),
False,
))
def test_rasterizer_return_correct_batch_shapes(self, shapes, dtypes,
enable_cull_face):
Expand Down

0 comments on commit 6b2d59d

Please sign in to comment.