[SCM] applications.git branch, master, updated. 01eef4bb2aa66013bff5258a248d78523e5892b3

ontologiae ontologiae at ordinateur-de-ontologiae-3.local
Tue Apr 13 21:18:56 UTC 2010


The following commit has been merged in the master branch:
commit 01eef4bb2aa66013bff5258a248d78523e5892b3
Author: ontologiae <ontologiae at ordinateur-de-ontologiae-3.local>
Date:   Tue Apr 13 23:18:48 2010 +0200

    add abstract_strint operator + test

diff --git a/test/abstract_string_test.li b/test/abstract_string_test.li
index 772aef3..08718ad 100644
--- a/test/abstract_string_test.li
+++ b/test/abstract_string_test.li
@@ -207,6 +207,11 @@ Section Public
     UNIT_TEST.test "first_substring_index #2" integer (name.first_substring_index "Doe") equals 6;
     UNIT_TEST.test "first_substring_index #3" integer (name.first_substring_index "o") equals 2;
     UNIT_TEST.test "first_substring_index #4" integer (name.first_substring_index "Smith") equals 0;
+    a := "un, ";
+    b := "deux, ";
+    c := "trois";
+
+    UNIT_TEST.test "Test + operator" string (a+b+c) equals ("un, deux, trois".to_string);
 
     UNIT_TEST.section "Splitting a STRING";
     values := name.split;

-- 
applications.git



More information about the Lisaac-commits mailing list