@@ -401,12 +401,6 @@ TEST_F(RenderedTargetTest, CpuRendering)
401
401
ASSERT_TRUE (target.contains ({ 3 , 3 }));
402
402
ASSERT_TRUE (target.contains ({ 3.3 , 3.5 }));
403
403
404
- // Regtest for #141
405
- target.setVisible (false );
406
- ASSERT_FALSE (target.contains ({ 1 , 3 }));
407
- ASSERT_FALSE (target.contains ({ 2 , 3 }));
408
- target.setVisible (true );
409
-
410
404
// Test contains() with horizontal mirroring
411
405
target.updateRotationStyle (Sprite::RotationStyle::LeftRight);
412
406
target.updateDirection (-45 );
@@ -441,12 +435,6 @@ TEST_F(RenderedTargetTest, CpuRendering)
441
435
ASSERT_TRUE (target.containsScratchPoint (-225 , 162 )); // [3, 3]
442
436
ASSERT_TRUE (target.containsScratchPoint (-224.7 , 161.5 )); // [3.3, 3.5]
443
437
444
- // Regtest for #141
445
- target.setVisible (false );
446
- ASSERT_FALSE (target.containsScratchPoint (-227 , 162 )); // [1, 3]
447
- ASSERT_FALSE (target.containsScratchPoint (-226 , 162 )); // [2, 3]
448
- target.setVisible (true );
449
-
450
438
// Test colorAtScratchPoint()
451
439
ASSERT_EQ (target.colorAtScratchPoint (-228 , 165 ), 0 ); // [0, 0]
452
440
ASSERT_EQ (target.colorAtScratchPoint (-227 , 165 ), 0 ); // [1, 0]
0 commit comments