2 Test that variable expressions of floating point types are evaluated correctly.
9 from lldbsuite
.test
.decorators
import *
10 from lldbsuite
.test
.lldbtest
import *
11 from lldbsuite
.test
import lldbutil
14 class FloatTypesExprTestCase(AbstractBase
.GenericTester
):
15 # rdar://problem/8493023
16 # test/types failures for Test*TypesExpr.py: element offset computed wrong
19 def test_float_type(self
):
20 """Test that float-type variable expressions are evaluated correctly."""
21 self
.build_and_run_expr("float.cpp", set(["float"]))
24 def test_float_type_from_block(self
):
25 """Test that float-type variables are displayed correctly from a block."""
26 self
.build_and_run_expr("float.cpp", set(["float"]), bc
=True)