001package csheets.core; 002 003import org.junit.Test; 004 005import static org.junit.Assert.assertEquals; 006 007public class WorkbookTest { 008 009 @Test public void testGetSpreadsheetCount() { 010 011 // create a workbook with 2 sheets 012 Workbook wb=new Workbook(2); 013 014 assertEquals("Result", 2, wb.getSpreadsheetCount()); 015 } 016}