Skip to content

Commit

Permalink
Clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
Groovounet committed Sep 14, 2018
1 parent fe83040 commit 9c8a348
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions test/core/core_force_pure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,36 +401,6 @@ static int test_operator_increment()
return Error;
}

namespace heap
{
struct A
{
float f;
};

struct B : public A
{
float g;
glm::vec4 v;
};

int test()
{
int Error = 0;

A* p = new B;
p->f = 0.f;
delete p;

std::size_t const Count1 = sizeof(B);
std::size_t const Count2 = 32;

Error += Count1 == Count2 ? 0 : 1;

return Error;
}
}//namespace heap

static int test_vec4_simd()
{
int Error = 0;
Expand Down Expand Up @@ -458,7 +428,6 @@ int main()
Error += test_vec4_swizzle_partial();
Error += test_vec4_simd();
Error += test_operator_increment();
Error += heap::test();

return Error;
}
Expand Down

0 comments on commit 9c8a348

Please sign in to comment.