mirror of
https://github.com/objectionary/eo.git
synced 2024-09-11 12:45:42 +03:00
feat(#3251): tests
This commit is contained in:
parent
7debf361ca
commit
1ec6f0a1f7
@ -25,4 +25,5 @@
|
||||
# package name contains capital letter and such names are conventional.
|
||||
---
|
||||
exclude_paths:
|
||||
- "eo-runtime/src/test/java/org/eolang/SnippetTestCase.java"
|
||||
- "eo-runtime/src/test/java/EOorg/EOeolang/EOtxt/EOsprintfTest.java"
|
||||
- "eo-runtime/src/main/java/EOorg/EOeolang/EOtxt/EOsprintf.java"
|
||||
|
@ -162,16 +162,15 @@
|
||||
# Test.
|
||||
[] > complex-objects-list-comparison
|
||||
list > res
|
||||
*
|
||||
list (* 0 1)
|
||||
list (* 4 0)
|
||||
list (* 7 3)
|
||||
.eq > @
|
||||
*
|
||||
* 0 1
|
||||
* 4 0
|
||||
* 7 3
|
||||
res.eq > @
|
||||
list
|
||||
*
|
||||
list (* 0 1)
|
||||
list (* 4 0)
|
||||
list (* 7 3)
|
||||
|
||||
# Test.
|
||||
[] > list-mappedi-should-work
|
||||
|
@ -20,7 +20,6 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
+alias org.eolang.io.stdout
|
||||
+alias org.eolang.txt.sprintf
|
||||
+architect yegor256@gmail.com
|
||||
+home https://github.com/objectionary/eo
|
||||
@ -41,13 +40,13 @@
|
||||
eq. > @
|
||||
"Привет 3.140000 Jeff X!"
|
||||
sprintf
|
||||
"Привет %s %s!"
|
||||
"Привет %f %s %s!"
|
||||
* 3.14 "Jeff" "X"
|
||||
|
||||
# Test.
|
||||
[] > prints-bytes-string
|
||||
eq. > @
|
||||
"00-00-00-00-00-00-00-42"
|
||||
"00-00-00-00-00-00-00-2A"
|
||||
sprintf
|
||||
"%x"
|
||||
* 42.as-bytes
|
||||
|
@ -27,13 +27,10 @@
|
||||
*/
|
||||
package EOorg.EOeolang.EOtxt;
|
||||
|
||||
import EOorg.EOeolang.EOas_phi;
|
||||
import EOorg.EOeolang.EOerror;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import org.eolang.AtCompositeTest;
|
||||
import org.eolang.Data;
|
||||
import org.eolang.Dataized;
|
||||
import org.eolang.PhWith;
|
||||
import org.eolang.Phi;
|
||||
import org.hamcrest.MatcherAssert;
|
||||
import org.hamcrest.Matchers;
|
||||
|
@ -41,6 +41,7 @@ import org.eolang.jucs.ClasspathSource;
|
||||
import org.hamcrest.MatcherAssert;
|
||||
import org.hamcrest.Matchers;
|
||||
import org.junit.jupiter.api.Assumptions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
Loading…
Reference in New Issue
Block a user