Commits

Matthew Turk committed 2ded347

Adding CornerCentered tests.

  • Participants
  • Parent commits 30a27e2

Comments (0)

Files changed (1)

tests/TestFieldCenterings.C

     }
   }
 }
+
+TEST_F(FieldCenteringSimpleTest, TestCornerCentered) {
+  FieldDescriptor *fd = this->fds[1];
+  ASSERT_EQ(fd->GetSize(), 8*9*10);
+  fd->CopyFrom(1.0);
+  ASSERT_EQ(fd->sum(), 8*9*10);
+}