LCOV - code coverage report
Current view: top level - lib/_ext - double_ext.dart Coverage Total Hit
Test: lcov.info Lines: 0.0 % 3 0
Test Date: 2026-11-14 15:04:37 Functions: - 0 0

            Line data    Source code
       1              : // Copyright 2023 The terCAD team. All rights reserved.
       2              : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file.
       3              : 
       4              : import 'dart:math' as math;
       5              : 
       6              : extension IntExt on double {
       7            0 :   double toFixed(int? digits) => (this * math.pow(10, digits ?? 8)).round() / math.pow(10, digits ?? 8);
       8              : 
       9            0 :   bool isEqual(double? value) => (this - (value ?? 0)).abs() < 1e-10;
      10              : 
      11            0 :   bool isNotEqual(double? value) => !isEqual(value);
      12              : }
        

Generated by: LCOV version 2.0-1