require 'clean_test/test_case' class Circle def initialize(radius) @radius = radius end def area; (3.14 * @radius * @radius).to_i; end end class TestCircle < Clean::Test::TestCase test_that { Given { @circle = Circle.new(10) } When { @area = @circle.area } Then { assert_equal 314,@area } } end