File: plain.rb

package info (click to toggle)
ruby-maxitest 6.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 504 kB
  • sloc: ruby: 1,583; 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