blob: ab0ffc4b6a25597d1cb67b621dd9ed799173672b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: false
require 'test/unit'
class TestCondition < Test::Unit::TestCase
# [should] first test to see if we can run the tests.
def test_condition
$x = '0';
$x == $x && assert(true)
$x != $x && assert(false)
$x == $x || assert(false)
$x != $x || assert(true)
end
end
|