Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:34

0001 #include "DataFormats/GeometryVector/interface/VectorUtil.h"
0002 
0003 #include <cassert>
0004 
0005 int main() {
0006   assert(Geom::phiLess(0.f, 2.f));
0007   assert(Geom::phiLess(6.f, 0.f));
0008   assert(Geom::phiLess(3.2f, 0.f));
0009   assert(Geom::phiLess(3.0f, 3.2f));
0010 
0011   assert(Geom::phiLess(-0.3f, 0.f));
0012   assert(Geom::phiLess(-0.3f, 0.1f));
0013   assert(Geom::phiLess(-3.0f, 0.f));
0014   assert(Geom::phiLess(3.0f, -3.0f));
0015   assert(Geom::phiLess(0.f, -3.4f));
0016 }