mirror of
https://github.com/XAMPPRocky/tokei.git
synced 2026-05-28 00:20:57 +02:00
Added tests for c++ source and header files and java files. (#107)
* Added tests for c++ source and header files and java files. * Added VHDL to languages and tests * Updated readme Updated to reflect VHDL being added to languages
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/* 23 lines 16 code 4 comments 3 blanks */
|
||||
|
||||
/*
|
||||
* Simple test class
|
||||
*/
|
||||
public class Test
|
||||
{
|
||||
int j = 0; // Not counted
|
||||
public static void main(String[] args)
|
||||
{
|
||||
Foo f = new Foo();
|
||||
f.bar();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class Foo
|
||||
{
|
||||
public void bar()
|
||||
{
|
||||
System.out.println("FooBar"); //Not counted
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user