def test_value_tracker_increment_value(): """Test ValueTracker.increment_value()""" tracker = ValueTracker(0.0) tracker.increment_value(10.0) assert tracker.get_value() == 10.0
def test_value_tracker_bool(using_opengl_renderer): """Test ValueTracker.__bool__()""" tracker = ValueTracker(0.0) assert not tracker tracker.increment_value(1.0) assert tracker
def test_value_tracker_bool(): """Test ValueTracker.__bool__()""" tracker = ValueTracker(0.0) assert not tracker tracker.increment_value(1.0) assert tracker
def test_value_tracker_increment_value(using_opengl_renderer): """Test ValueTracker.increment_value()""" tracker = ValueTracker(0.0) tracker.increment_value(10.0) assert tracker.get_value() == 10.0