File: plain.rb

package info (click to toggle)
ruby-maxitest 6.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 468 kB
  • sloc: ruby: 1,587; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
require "./spec/cases/helper"

describe 2 do
  it "is even" do
    (ENV['USE_GLOBAL_MUST'] ? 2.even? : _(2.even?)).must_equal true
  end

  it "is not odd" do
    (ENV['USE_GLOBAL_MUST'] ? 2.odd? : _(2.odd?)).must_equal false
  end
end