summaryrefslogtreecommitdiff
path: root/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_small.cpp
blob: 6a844e7da2cd1decd9e9d0213aee8bfeaf1a4aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Purpose:
//      Check that \DexExpectWatchValue float_range=0.5 considers a range
//      difference of 0.49999 to be an expected watch value.
//
// UNSUPPORTED: system-darwin
//
// RUN: %dexter_regression_test -- %s | FileCheck %s
// CHECK: float_range_small.cpp:

int main() {
  float a = 1.0f;
  a = a - 0.49999f;
  return a; //DexLabel('check')
}

// DexExpectWatchValue('a', '1.0', on_line=ref('check'), float_range=0.5)