lib/minitest/benchmark.rb in spec-5.0.19 vs lib/minitest/benchmark.rb in spec-5.3.3
- old
+ new
@@ -374,11 +374,11 @@
end
##
# Create a benchmark that verifies that the performance is linear.
#
- # describe "my class" do
+ # describe "my class Bench" do
# bench_performance_linear "fast_algorithm", 0.9999 do |n|
# @obj.fast_algorithm(n)
# end
# end
@@ -389,11 +389,11 @@
end
##
# Create a benchmark that verifies that the performance is constant.
#
- # describe "my class" do
+ # describe "my class Bench" do
# bench_performance_constant "zoom_algorithm!" do |n|
# @obj.zoom_algorithm!(n)
# end
# end
@@ -404,10 +404,10 @@
end
##
# Create a benchmark that verifies that the performance is exponential.
#
- # describe "my class" do
+ # describe "my class Bench" do
# bench_performance_exponential "algorithm" do |n|
# @obj.algorithm(n)
# end
# end