blob: 303521f95f5c8655653c3eb472c5dfbe508e1883 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
require 'test/unit'
$KCODE = 'none'
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
|