File: line.rb

package info (click to toggle)
ruby-maxitest 7.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 444 kB
  • sloc: ruby: 1,339; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true
require "./spec/cases/helper"

describe 2 do
  it "is even" do
    _(2.even?).must_equal true
  end

  it "is not odd" do
    _(2.odd?).must_equal true
  end

  describe "block" do
    it "is even" do
      _(2.even?).must_equal true
    end

    it "is still even" do
      _(2.even?).must_equal true
    end
  end
end