1"""
2Test that variables of floating point types are displayed correctly.
3"""
4
5
6
7import AbstractBase
8
9import lldb
10from lldbsuite.test.decorators import *
11from lldbsuite.test.lldbtest import *
12from lldbsuite.test import lldbutil
13
14
15class FloatTypesTestCase(AbstractBase.GenericTester):
16
17    def test_float_type(self):
18        """Test that float-type variables are displayed correctly."""
19        self.build_and_run('float.cpp', set(['float']))
20
21    @skipUnlessDarwin
22    def test_float_type_from_block(self):
23        """Test that float-type variables are displayed correctly from a block."""
24        self.build_and_run('float.cpp', set(['float']), bc=True)
25