Skip to content

Commit

Permalink
UnitTest: Remove unused file, fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
2xB authored Jun 7, 2024
1 parent 850a888 commit 7a5bf49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 230 deletions.
226 changes: 0 additions & 226 deletions UnitTest/KGeoBag/Source/Shapes.cxx

This file was deleted.

8 changes: 4 additions & 4 deletions UnitTest/KGeoBag/Source/Shapes_Volumes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ TEST_F(KGeoBagShapeTest, KGBox)
tSurface3->SetP0(KThreeVector(0.1, 0.2, 0.3));
tSurface3->SetP1(KThreeVector(1., 2., 3.));

EXPECT_EQ(tSurface2->GetP0(), KThreeVector(0.1, 0.2, 0.3));
EXPECT_EQ(tSurface2->GetP1(), KThreeVector(1., 2., 3.));
EXPECT_EQ(tSurface3->GetP0(), KThreeVector(0.1, 0.2, 0.3));
EXPECT_EQ(tSurface3->GetP1(), KThreeVector(1., 2., 3.));

tSurface3->SetX0(1.1);
tSurface3->SetX1(2.1);
Expand All @@ -60,8 +60,8 @@ TEST_F(KGeoBagShapeTest, KGBox)
tSurface3->SetP0(KThreeVector(0.1, 0.2, 0.3));
tSurface3->SetP1(KThreeVector(1., 2., 3.));

EXPECT_EQ(tSurface2->GetP0(), KThreeVector(0.1, 0.2, 0.3));
EXPECT_EQ(tSurface2->GetP1(), KThreeVector(1., 2., 3.));
EXPECT_EQ(tSurface3->GetP0(), KThreeVector(0.1, 0.2, 0.3));
EXPECT_EQ(tSurface3->GetP1(), KThreeVector(1., 2., 3.));

delete tSurface3;
}
Expand Down

0 comments on commit 7a5bf49

Please sign in to comment.