TEST(ScalarTest, Division) { Scalar lhs(5.0); Scalar rhs(2.0); Scalar r = lhs / rhs; EXPECT_TRUE(r.IsValid()); EXPECT_EQ(r, Scalar(2.5)); }