test/test_champions.rb in est-0.3.1 vs test/test_champions.rb in est-0.3.2
- old
+ new
@@ -1,9 +1,9 @@
# encoding: utf-8
#
-# Copyright (c) 2014 TechnoPark Corp.
-# Copyright (c) 2014 Yegor Bugayenko
+# Copyright (c) 2014-2016 TechnoPark Corp.
+# Copyright (c) 2014-2016 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -25,11 +25,11 @@
require 'est/methods/champions'
require 'yaml'
# Est main module test.
# Author:: Yegor Bugayenko (yegor@teamed.io)
-# Copyright:: Copyright (c) 2014 Yegor Bugayenko
+# Copyright:: Copyright (c) 2014-2016 Yegor Bugayenko
# License:: MIT
class TestChampions < Minitest::Test
def test_basic_calculation
method = Est::Champions.new(
YAML.load(
@@ -54,8 +54,8 @@
best-case: 8
most-likely: 16
'''
)
)
- assert_equal 54, method.total
+ assert_equal 79, method.total
end
end