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 DoubleTypesTestCase(AbstractBase.GenericTester):
16
17    def test_double_type(self):
18        """Test that double-type variables are displayed correctly."""
19        self.build_and_run('double.cpp', set(['double']))
20
21    @skipUnlessDarwin
22    def test_double_type_from_block(self):
23        """Test that double-type variables are displayed correctly from a block."""
24        self.build_and_run('double.cpp', set(['double']), bc=True)
25