16 lines
357 B
Java
16 lines
357 B
Java
|
package org.gcube.social_networking.socialutillibrary;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public class TestUnit {
|
||
|
|
||
|
|
||
|
//@Test
|
||
|
public void testHashtag() {
|
||
|
String text = "This is a test with hashtag #T6 and #T6.1 but also #T6. that has '.' that is useless.";
|
||
|
List<String> hashtags = Utils.getHashTags(text);
|
||
|
System.out.println("Hashtags are " + hashtags);
|
||
|
}
|
||
|
|
||
|
}
|