Lines Matching refs:energy
35 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::energy> E1; in test_main()
39 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::energy> E2(E_*bu::joules); in test_main()
43 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::energy> E3(E2); in test_main()
47 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::energy> E4 = E2; in test_main()
51 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::energy,float> E5(E2); in test_main()
62 bu::quantity<bu::energy> E9(E2); in test_main()
94 …BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::energy> E(bu::quantity<bu::energy>::from_value(2.5)… in test_main()
100 BOOST_CHECK(bu::joules*2.0 == bu::quantity<bu::energy>::from_value(2.0)); in test_main()
103 BOOST_CHECK(bu::joules/2.0 == bu::quantity<bu::energy>::from_value(0.5)); in test_main()
106 BOOST_CHECK(2.0*bu::joules == bu::quantity<bu::energy>::from_value(2.0)); in test_main()
112 BOOST_CHECK(E*2.0 == bu::quantity<bu::energy>::from_value(5.0)); in test_main()
115 BOOST_CHECK(E/2.0 == bu::quantity<bu::energy>::from_value(1.25)); in test_main()
118 BOOST_CHECK(2.0*E == bu::quantity<bu::energy>::from_value(5.0)); in test_main()