summary refs log tree commit diff stats
path: root/drnim/tests/tphi.nim
blob: 7ff49f4dc507da8f4dd8a63b659e61e7829152f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
discard """
  nimout: '''tphi.nim(9, 10) Warning: BEGIN [User]
tphi.nim(22, 10) Warning: END [User]'''
  cmd: "drnim $file"
  action: "compile"
"""
import std/logic
{.push staticBoundChecks: defined(nimDrNim).}
{.warning: "BEGIN".}

proc testAsgn(y: int) =
  var a = y
  if a > 0:
    if a > 3:
      a = a + 2
    else:
      a = a + 1
    {.assert: a > 1.}

testAsgn(3)

{.warning: "END".}
{.pop.}
/taurus - https://github.com/andinus/taurus/releases 2. Extract the file. 3. Run ~zef install .~ in source directory. *** With ~git~ All commits will be signed by my [[https://andinus.nand.sh/static/D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD.asc][PGP Key]]. #+begin_src sh # Clone the project. git clone https://git.tilde.institute/andinus/taurus cd taurus # Install taurus. zef install . #+end_src * Documentation Taurus parses Call logs exported by [[https://f-droid.org/en/packages/opencontacts.open.com.opencontacts/][OpenContacts]]. Get the application from F-Droid and export the call logs by selecting /More/, then /Export call log/ from the three dot menu on top right. ** Implementation It parses the exported log file line by line, stores them & presents an interface. ** Options *** log Exported log file. *** digits Number of significant digits in phone numbers. Default is set to 10. If the number of digits is less than significant digits then the number is discarded, if it's more then the initial extra digits are discarded (Country Code, etc.). * News ** v0.1.1 - 2021-08-19 + Better format for timestamps. + Add Yearly Records. + Add Monthly Records. ** v0.1.0 - 2021-08-15 Initial Implementation. + Present overall stats. + Displays contact specific stats. + Outgoing + Incoming + Total Call Time + Declined + They Declined + Missed Calls