MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_operator_no_spaces

Function test_operator_no_spaces

core/src/lexer.rs:1562–1581  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1560
1561 #[test]
1562 fn test_operator_no_spaces() {
1563 do_ok_test(
1564 "z=2 654<>a32 3.1<0.1 8^7",
1565 &[
1566 ts(new_auto_symbol("z"), 1, 1, 1),
1567 ts(Token::Equal, 1, 2, 1),
1568 ts(Token::Integer(2), 1, 3, 1),
1569 ts(Token::Integer(654), 1, 5, 3),
1570 ts(Token::NotEqual, 1, 8, 2),
1571 ts(new_auto_symbol("a32"), 1, 10, 3),
1572 ts(Token::Double(3.1), 1, 14, 3),
1573 ts(Token::Less, 1, 17, 1),
1574 ts(Token::Double(0.1), 1, 18, 3),
1575 ts(Token::Integer(8), 1, 22, 1),
1576 ts(Token::Exponent, 1, 23, 1),
1577 ts(Token::Integer(7), 1, 24, 1),
1578 ts(Token::Eof, 1, 25, 0),
1579 ],
1580 );
1581 }
1582
1583 #[test]
1584 fn test_parenthesis() {

Callers

nothing calls this directly

Calls 3

tsFunction · 0.85
new_auto_symbolFunction · 0.85
do_ok_testFunction · 0.70

Tested by

no test coverage detected