package seedu.taskboss.model.task;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

import org.junit.Test;

public class InformationTest {

	@Test
	public void isValidAddress() {
		// invalid addresses
		assertFalse(Information.isValidInformation("")); // empty string
		assertFalse(Information.isValidInformation(" ")); // spaces only

		// valid addresses
		assertTrue(Information.isValidInformation("Blk 456, Den Road, #01-355"));
		assertTrue(Information.isValidInformation("-")); // one character
		assertTrue(Information.isValidInformation(
		        "Leng Inc; 1234 Market St; San Francisco CA 2349879; USA")); // long information
	}
}

@@ -177,16 +177,22 @@
  %7B%0A%0A
-%09
+    
 @Test%0A
-%09
+    
 publ
@@ -218,18 +218,24 @@
 ess() %7B%0A
-%09%09
+        
 // inval
@@ -243,26 +243,32 @@
 d addresses%0A
-%09%09
+        
 assertFalse(
@@ -320,18 +320,24 @@
  string%0A
-%09%09
+        
 assertFa
@@ -394,18 +394,24 @@
 s only%0A%0A
-%09%09
+        
 // valid
@@ -421,18 +421,24 @@
 dresses%0A
-%09%09
+        
 assertTr
@@ -503,18 +503,24 @@
 355%22));%0A
-%09%09
+        
 assertTr
@@ -577,18 +577,24 @@
 aracter%0A
-%09%09
+        
 assertTr
@@ -632,18 +632,16 @@
 on(%0A
-%09%09
         
 %22Len
@@ -636,16 +636,18 @@
         
+%09%09
 %22Leng In
@@ -719,13 +719,16 @@
 rmation%0A
-%09
+    
 %7D%0A%7D%0A

Revert "Continue fixing [FileTabCharacters]"