Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:17:42

0001 
0002 // Copyright 2020, Jefferson Science Associates, LLC.
0003 // Subject to the terms in the LICENSE file found in the top-level directory.
0004 
0005 #include "catch.hpp"
0006 
0007 #include <JANA/JObject.h>
0008 
0009 class SillyObject : public JObject {
0010 public:
0011     JOBJECT_PUBLIC(SillyObject)
0012 };
0013 
0014 TEST_CASE("JObject::className") {
0015     SillyObject sut;
0016     REQUIRE(sut.static_className() == "SillyObject");
0017     REQUIRE(sut.className() == "SillyObject");
0018 }
0019