| Class | Uttk::Strategies::Threshold |
| In: |
lib/uttk/strategies/Threshold.rb
|
| Parent: | Proxy |
I validate the status of the strategy test if it is under the value of my threshold attribute.
# File lib/uttk/strategies/Threshold.rb, line 28 def assertion compute_final_weight final = @final_weight.get @log.final_weight = final fail("Not enough (#{final} < #@threshold)") if @final_weight < @threshold pass end