Skip to content

Commit

Permalink
Regenerate tests based on updated canonical data.
Browse files Browse the repository at this point in the history
BookKeeping version incremented:

The expected solution for a test case changed.
  • Loading branch information
Insti committed Oct 18, 2017
1 parent dd726ed commit a61feec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion exercises/two-bucket/.meta/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3
4
2 changes: 1 addition & 1 deletion exercises/two-bucket/.meta/solutions/two_bucket.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module BookKeeping
VERSION = 3
VERSION = 4
end

class TwoBucket
Expand Down
8 changes: 4 additions & 4 deletions exercises/two-bucket/two_bucket_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'minitest/autorun'
require_relative 'two_bucket'

# Common test data version: 1.1.0 531486a
# Common test data version: 1.2.0 8aa11e8
class TwoBucketTest < Minitest::Test
def test_bucket_one_size_3_bucket_two_size_5_goal_1_start_with_bucket_one
# skip
Expand Down Expand Up @@ -46,9 +46,9 @@ def test_bucket_one_size_1_bucket_two_size_3_goal_3_start_with_bucket_two
def test_bucket_one_size_2_bucket_two_size_3_goal_3_start_with_bucket_one
skip
two_bucket = TwoBucket.new(2, 3, 3, 'one')
assert_equal 4, two_bucket.moves
assert_equal 2, two_bucket.moves
assert_equal 'two', two_bucket.goal_bucket
assert_equal 1, two_bucket.other_bucket
assert_equal 2, two_bucket.other_bucket
end

# Problems in exercism evolve over time, as we find better ways to ask
Expand All @@ -70,6 +70,6 @@ def test_bucket_one_size_2_bucket_two_size_3_goal_3_start_with_bucket_one

def test_bookkeeping
skip
assert_equal 3, BookKeeping::VERSION
assert_equal 4, BookKeeping::VERSION
end
end

0 comments on commit a61feec

Please sign in to comment.