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