Summary

Harness status: OK

Found 67 tests

Details

ResultTest NameMessage
Pass"odd" becomes "2n+1"
Asserts run
Pass
assert_equals("2n+1", "2n+1")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"even" becomes "2n"
Asserts run
Pass
assert_equals("2n", "2n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"1" becomes "1"
Asserts run
Pass
assert_equals("1", "1")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+1" becomes "1"
Asserts run
Pass
assert_equals("1", "1")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-1" becomes "-1"
Asserts run
Pass
assert_equals("-1", "-1")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n" becomes "5n"
Asserts run
Pass
assert_equals("5n", "5n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5N" becomes "5n"
Asserts run
Pass
assert_equals("5n", "5n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n" becomes "n"
Asserts run
Pass
assert_equals("n", "n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n" becomes "n"
Asserts run
Pass
assert_equals("n", "n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"N" becomes "n"
Asserts run
Pass
assert_equals("n", "n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+ n" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n" becomes "-n"
Asserts run
Pass
assert_equals("-n", "-n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-N" becomes "-n"
Asserts run
Pass
assert_equals("-n", "-n")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n-5" becomes "5n-5"
Asserts run
Pass
assert_equals("5n-5", "5n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n-5" becomes "n-5"
Asserts run
Pass
assert_equals("n-5", "n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n-5" becomes "n-5"
Asserts run
Pass
assert_equals("n-5", "n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+ n-5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n-5" becomes "-n-5"
Asserts run
Pass
assert_equals("-n-5", "-n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n +5" becomes "5n+5"
Asserts run
Pass
assert_equals("5n+5", "5n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n -5" becomes "5n-5"
Asserts run
Pass
assert_equals("5n-5", "5n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n +5" becomes "n+5"
Asserts run
Pass
assert_equals("n+5", "n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n +5" becomes "n+5"
Asserts run
Pass
assert_equals("n+5", "n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n -5" becomes "n-5"
Asserts run
Pass
assert_equals("n-5", "n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+ n +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n 5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n +5" becomes "-n+5"
Asserts run
Pass
assert_equals("-n+5", "-n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n -5" becomes "-n-5"
Asserts run
Pass
assert_equals("-n-5", "-n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n 5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n- 5" becomes "5n-5"
Asserts run
Pass
assert_equals("5n-5", "5n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n- -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n- +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-5n- 5" becomes "-5n-5"
Asserts run
Pass
assert_equals("-5n-5", "-5n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n- 5" becomes "n-5"
Asserts run
Pass
assert_equals("n-5", "n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n- 5" becomes "n-5"
Asserts run
Pass
assert_equals("n-5", "n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+ n- 5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n- +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n- -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n- 5" becomes "-n-5"
Asserts run
Pass
assert_equals("-n-5", "-n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n- +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n- -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n + 5" becomes "5n+5"
Asserts run
Pass
assert_equals("5n+5", "5n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n - 5" becomes "5n-5"
Asserts run
Pass
assert_equals("5n-5", "5n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n + +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n + -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n - +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"5n - -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n + 5" becomes "n+5"
Asserts run
Pass
assert_equals("n+5", "n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"n + 5" becomes "n+5"
Asserts run
Pass
assert_equals("n+5", "n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+ n + 5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n - 5" becomes "n-5"
Asserts run
Pass
assert_equals("n-5", "n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n + +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n + -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n - +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+n - -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n + 5" becomes "-n+5"
Asserts run
Pass
assert_equals("-n+5", "-n+5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n - 5" becomes "-n-5"
Asserts run
Pass
assert_equals("-n-5", "-n-5")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n + +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n + -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n - +5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-n - -5" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"1 - n" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"0 - n" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"-1 + n" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"2 n + 2" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"- 2n" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+ 2n" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)
Pass"+2 n" becomes "parse error"
Asserts run
Pass
assert_equals("parse error", "parse error")
    at Test.<anonymous> ( /css/css-syntax/anb-parsing.html:26:9)