Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

google test assert eq float

ASSERT_NEAR(13.45, 13.45, 0.01); // third member is precision (for floats)
 
PREVIOUS NEXT
Tagged: #google #test #assert #eq #float
ADD COMMENT
Topic
Name
8+8 =