IAP GITLAB

Skip to content
Snippets Groups Projects
testUnits.cc 303 B
Newer Older
ralfulrich's avatar
ralfulrich committed
#define CATCH_CONFIG_MAIN  // This tells Catch to provide a main() - only do this in one cpp file
#include <catch2/catch.hpp>
ralfulrich's avatar
ralfulrich committed

#include <Units/PhysicalUnits.h>

using namespace phys::units;
using namespace phys::units::literals;
ralfulrich's avatar
ralfulrich committed

TEST_CASE( "PhysicalUnits", "[Units]" ) {  
  REQUIRE( 1_m/1_m == 1 );
}